Commit 102c3065739c933289ab67492d7dde0d40fc2369

Authored by Kukjin Kim
1 parent 8425938602

ARM: S5P64X0: move i2c.h into local directory

The <mach/i2c.h> can be moved into mach-s5p64x0/.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>

Showing 6 changed files with 20 additions and 21 deletions Side-by-side Diff

arch/arm/mach-s5p64x0/i2c.h
  1 +/*
  2 + * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  3 + * http://www.samsung.com
  4 + *
  5 + * S5P64X0 I2C configuration
  6 + *
  7 + * This program is free software; you can redistribute it and/or modify
  8 + * it under the terms of the GNU General Public License version 2 as
  9 + * published by the Free Software Foundation.
  10 +*/
  11 +
  12 +extern void s5p6440_i2c0_cfg_gpio(struct platform_device *dev);
  13 +extern void s5p6440_i2c1_cfg_gpio(struct platform_device *dev);
  14 +
  15 +extern void s5p6450_i2c0_cfg_gpio(struct platform_device *dev);
  16 +extern void s5p6450_i2c1_cfg_gpio(struct platform_device *dev);
arch/arm/mach-s5p64x0/include/mach/i2c.h
1   -/* linux/arch/arm/mach-s5p64x0/include/mach/i2c.h
2   - *
3   - * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4   - * http://www.samsung.com
5   - *
6   - * S5P64X0 I2C configuration
7   - *
8   - * This program is free software; you can redistribute it and/or modify
9   - * it under the terms of the GNU General Public License version 2 as
10   - * published by the Free Software Foundation.
11   -*/
12   -
13   -extern void s5p6440_i2c0_cfg_gpio(struct platform_device *dev);
14   -extern void s5p6440_i2c1_cfg_gpio(struct platform_device *dev);
15   -
16   -extern void s5p6450_i2c0_cfg_gpio(struct platform_device *dev);
17   -extern void s5p6450_i2c1_cfg_gpio(struct platform_device *dev);
arch/arm/mach-s5p64x0/mach-smdk6440.c
... ... @@ -38,7 +38,6 @@
38 38 #include <mach/hardware.h>
39 39 #include <mach/map.h>
40 40 #include <mach/regs-clock.h>
41   -#include <mach/i2c.h>
42 41 #include <mach/regs-gpio.h>
43 42  
44 43 #include <plat/regs-serial.h>
... ... @@ -56,6 +55,7 @@
56 55 #include <plat/sdhci.h>
57 56  
58 57 #include "common.h"
  58 +#include "i2c.h"
59 59  
60 60 #define SMDK6440_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
61 61 S3C2410_UCON_RXILEVEL | \
arch/arm/mach-s5p64x0/mach-smdk6450.c
... ... @@ -38,7 +38,6 @@
38 38 #include <mach/hardware.h>
39 39 #include <mach/map.h>
40 40 #include <mach/regs-clock.h>
41   -#include <mach/i2c.h>
42 41 #include <mach/regs-gpio.h>
43 42  
44 43 #include <plat/regs-serial.h>
... ... @@ -56,6 +55,7 @@
56 55 #include <plat/sdhci.h>
57 56  
58 57 #include "common.h"
  58 +#include "i2c.h"
59 59  
60 60 #define SMDK6450_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
61 61 S3C2410_UCON_RXILEVEL | \
arch/arm/mach-s5p64x0/setup-i2c0.c
... ... @@ -21,7 +21,7 @@
21 21 #include <plat/gpio-cfg.h>
22 22 #include <linux/platform_data/i2c-s3c2410.h>
23 23  
24   -#include <mach/i2c.h>
  24 +#include "i2c.h"
25 25  
26 26 void s5p6440_i2c0_cfg_gpio(struct platform_device *dev)
27 27 {
arch/arm/mach-s5p64x0/setup-i2c1.c
... ... @@ -21,7 +21,7 @@
21 21 #include <plat/gpio-cfg.h>
22 22 #include <linux/platform_data/i2c-s3c2410.h>
23 23  
24   -#include <mach/i2c.h>
  24 +#include "i2c.h"
25 25  
26 26 void s5p6440_i2c1_cfg_gpio(struct platform_device *dev)
27 27 {