diff options
-rw-r--r-- | arch/arm/mach-omap1/board-h2.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-h3.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-osk.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-omap1/leds-osk.c | 2 | ||||
-rw-r--r-- | drivers/i2c/chips/Kconfig | 4 | ||||
-rw-r--r-- | drivers/i2c/chips/isp1301_omap.c | 2 | ||||
-rw-r--r-- | drivers/i2c/chips/tps65010.c | 2 | ||||
-rw-r--r-- | drivers/mmc/host/omap.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/ohci-omap.c | 2 | ||||
-rw-r--r-- | drivers/video/omap/lcd_h3.c | 2 | ||||
-rw-r--r-- | include/linux/i2c/tps65010.h (renamed from include/asm-arm/arch-omap/tps65010.h) | 8 |
11 files changed, 14 insertions, 17 deletions
diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c index 130681201c1..9393824cc15 100644 --- a/arch/arm/mach-omap1/board-h2.c +++ b/arch/arm/mach-omap1/board-h2.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <linux/mtd/nand.h> | 27 | #include <linux/mtd/nand.h> |
28 | #include <linux/mtd/partitions.h> | 28 | #include <linux/mtd/partitions.h> |
29 | #include <linux/input.h> | 29 | #include <linux/input.h> |
30 | #include <linux/i2c/tps65010.h> | ||
30 | 31 | ||
31 | #include <asm/hardware.h> | 32 | #include <asm/hardware.h> |
32 | #include <asm/gpio.h> | 33 | #include <asm/gpio.h> |
@@ -36,7 +37,6 @@ | |||
36 | #include <asm/mach/flash.h> | 37 | #include <asm/mach/flash.h> |
37 | #include <asm/mach/map.h> | 38 | #include <asm/mach/map.h> |
38 | 39 | ||
39 | #include <asm/arch/tps65010.h> | ||
40 | #include <asm/arch/mux.h> | 40 | #include <asm/arch/mux.h> |
41 | #include <asm/arch/tc.h> | 41 | #include <asm/arch/tc.h> |
42 | #include <asm/arch/irda.h> | 42 | #include <asm/arch/irda.h> |
diff --git a/arch/arm/mach-omap1/board-h3.c b/arch/arm/mach-omap1/board-h3.c index 4f84ae273a1..978cdab1653 100644 --- a/arch/arm/mach-omap1/board-h3.c +++ b/arch/arm/mach-omap1/board-h3.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/mtd/nand.h> | 26 | #include <linux/mtd/nand.h> |
27 | #include <linux/mtd/partitions.h> | 27 | #include <linux/mtd/partitions.h> |
28 | #include <linux/input.h> | 28 | #include <linux/input.h> |
29 | #include <linux/i2c/tps65010.h> | ||
29 | 30 | ||
30 | #include <asm/setup.h> | 31 | #include <asm/setup.h> |
31 | #include <asm/page.h> | 32 | #include <asm/page.h> |
@@ -37,7 +38,6 @@ | |||
37 | #include <asm/mach/flash.h> | 38 | #include <asm/mach/flash.h> |
38 | #include <asm/mach/map.h> | 39 | #include <asm/mach/map.h> |
39 | 40 | ||
40 | #include <asm/arch/tps65010.h> | ||
41 | #include <asm/arch/gpioexpander.h> | 41 | #include <asm/arch/gpioexpander.h> |
42 | #include <asm/arch/irqs.h> | 42 | #include <asm/arch/irqs.h> |
43 | #include <asm/arch/mux.h> | 43 | #include <asm/arch/mux.h> |
diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c index 5db182da322..5b575e687a2 100644 --- a/arch/arm/mach-omap1/board-osk.c +++ b/arch/arm/mach-omap1/board-osk.c | |||
@@ -37,6 +37,8 @@ | |||
37 | #include <linux/mtd/mtd.h> | 37 | #include <linux/mtd/mtd.h> |
38 | #include <linux/mtd/partitions.h> | 38 | #include <linux/mtd/partitions.h> |
39 | 39 | ||
40 | #include <linux/i2c/tps65010.h> | ||
41 | |||
40 | #include <asm/hardware.h> | 42 | #include <asm/hardware.h> |
41 | #include <asm/gpio.h> | 43 | #include <asm/gpio.h> |
42 | 44 | ||
@@ -46,7 +48,6 @@ | |||
46 | #include <asm/mach/flash.h> | 48 | #include <asm/mach/flash.h> |
47 | 49 | ||
48 | #include <asm/arch/usb.h> | 50 | #include <asm/arch/usb.h> |
49 | #include <asm/arch/tps65010.h> | ||
50 | #include <asm/arch/mux.h> | 51 | #include <asm/arch/mux.h> |
51 | #include <asm/arch/tc.h> | 52 | #include <asm/arch/tc.h> |
52 | #include <asm/arch/common.h> | 53 | #include <asm/arch/common.h> |
diff --git a/arch/arm/mach-omap1/leds-osk.c b/arch/arm/mach-omap1/leds-osk.c index 86de303ecab..6939d5e7569 100644 --- a/arch/arm/mach-omap1/leds-osk.c +++ b/arch/arm/mach-omap1/leds-osk.c | |||
@@ -5,13 +5,13 @@ | |||
5 | */ | 5 | */ |
6 | #include <linux/init.h> | 6 | #include <linux/init.h> |
7 | #include <linux/workqueue.h> | 7 | #include <linux/workqueue.h> |
8 | #include <linux/i2c/tps65010.h> | ||
8 | 9 | ||
9 | #include <asm/hardware.h> | 10 | #include <asm/hardware.h> |
10 | #include <asm/leds.h> | 11 | #include <asm/leds.h> |
11 | #include <asm/system.h> | 12 | #include <asm/system.h> |
12 | 13 | ||
13 | #include <asm/arch/gpio.h> | 14 | #include <asm/arch/gpio.h> |
14 | #include <asm/arch/tps65010.h> | ||
15 | 15 | ||
16 | #include "leds.h" | 16 | #include "leds.h" |
17 | 17 | ||
diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig index fe3008e5946..bd7082c2443 100644 --- a/drivers/i2c/chips/Kconfig +++ b/drivers/i2c/chips/Kconfig | |||
@@ -88,12 +88,8 @@ config ISP1301_OMAP | |||
88 | This driver can also be built as a module. If so, the module | 88 | This driver can also be built as a module. If so, the module |
89 | will be called isp1301_omap. | 89 | will be called isp1301_omap. |
90 | 90 | ||
91 | # NOTE: This isn't really OMAP-specific, except for the current | ||
92 | # interface location in <include/asm-arm/arch-omap/tps65010.h> | ||
93 | # and having mostly OMAP-specific board support | ||
94 | config TPS65010 | 91 | config TPS65010 |
95 | tristate "TPS6501x Power Management chips" | 92 | tristate "TPS6501x Power Management chips" |
96 | depends on ARCH_OMAP | ||
97 | default y if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_OSK | 93 | default y if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_OSK |
98 | help | 94 | help |
99 | If you say yes here you get support for the TPS6501x series of | 95 | If you say yes here you get support for the TPS6501x series of |
diff --git a/drivers/i2c/chips/isp1301_omap.c b/drivers/i2c/chips/isp1301_omap.c index ebfbb2947ae..2a3160153f5 100644 --- a/drivers/i2c/chips/isp1301_omap.c +++ b/drivers/i2c/chips/isp1301_omap.c | |||
@@ -100,7 +100,7 @@ struct isp1301 { | |||
100 | 100 | ||
101 | #if defined(CONFIG_TPS65010) || defined(CONFIG_TPS65010_MODULE) | 101 | #if defined(CONFIG_TPS65010) || defined(CONFIG_TPS65010_MODULE) |
102 | 102 | ||
103 | #include <asm/arch/tps65010.h> | 103 | #include <linux/i2c/tps65010.h> |
104 | 104 | ||
105 | #else | 105 | #else |
106 | 106 | ||
diff --git a/drivers/i2c/chips/tps65010.c b/drivers/i2c/chips/tps65010.c index e320994b981..4154a910885 100644 --- a/drivers/i2c/chips/tps65010.c +++ b/drivers/i2c/chips/tps65010.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/seq_file.h> | 31 | #include <linux/seq_file.h> |
32 | #include <linux/mutex.h> | 32 | #include <linux/mutex.h> |
33 | 33 | ||
34 | #include <asm/arch/tps65010.h> | 34 | #include <linux/i2c/tps65010.h> |
35 | 35 | ||
36 | /*-------------------------------------------------------------------------*/ | 36 | /*-------------------------------------------------------------------------*/ |
37 | 37 | ||
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 971e18b91f4..c9dfeb15b48 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/mmc/card.h> | 25 | #include <linux/mmc/card.h> |
26 | #include <linux/clk.h> | 26 | #include <linux/clk.h> |
27 | #include <linux/scatterlist.h> | 27 | #include <linux/scatterlist.h> |
28 | #include <linux/i2c/tps65010.h> | ||
28 | 29 | ||
29 | #include <asm/io.h> | 30 | #include <asm/io.h> |
30 | #include <asm/irq.h> | 31 | #include <asm/irq.h> |
@@ -35,7 +36,6 @@ | |||
35 | #include <asm/arch/dma.h> | 36 | #include <asm/arch/dma.h> |
36 | #include <asm/arch/mux.h> | 37 | #include <asm/arch/mux.h> |
37 | #include <asm/arch/fpga.h> | 38 | #include <asm/arch/fpga.h> |
38 | #include <asm/arch/tps65010.h> | ||
39 | 39 | ||
40 | #define OMAP_MMC_REG_CMD 0x00 | 40 | #define OMAP_MMC_REG_CMD 0x00 |
41 | #define OMAP_MMC_REG_ARGL 0x04 | 41 | #define OMAP_MMC_REG_ARGL 0x04 |
diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index 5cfa3d1c441..74e1f4be10b 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #ifdef CONFIG_TPS65010 | 49 | #ifdef CONFIG_TPS65010 |
50 | #include <asm/arch/tps65010.h> | 50 | #include <linux/i2c/tps65010.h> |
51 | #else | 51 | #else |
52 | 52 | ||
53 | #define LOW 0 | 53 | #define LOW 0 |
diff --git a/drivers/video/omap/lcd_h3.c b/drivers/video/omap/lcd_h3.c index c604d935c18..31e978349a8 100644 --- a/drivers/video/omap/lcd_h3.c +++ b/drivers/video/omap/lcd_h3.c | |||
@@ -21,9 +21,9 @@ | |||
21 | 21 | ||
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | #include <linux/i2c/tps65010.h> | ||
24 | 25 | ||
25 | #include <asm/arch/gpio.h> | 26 | #include <asm/arch/gpio.h> |
26 | #include <asm/arch/tps65010.h> | ||
27 | #include <asm/arch/omapfb.h> | 27 | #include <asm/arch/omapfb.h> |
28 | 28 | ||
29 | #define MODULE_NAME "omapfb-lcd_h3" | 29 | #define MODULE_NAME "omapfb-lcd_h3" |
diff --git a/include/asm-arm/arch-omap/tps65010.h b/include/linux/i2c/tps65010.h index b9aa2b3a390..7021635ed6a 100644 --- a/include/asm-arm/arch-omap/tps65010.h +++ b/include/linux/i2c/tps65010.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* linux/include/asm-arm/arch-omap/tps65010.h | 1 | /* linux/i2c/tps65010.h |
2 | * | 2 | * |
3 | * Functions to access TPS65010 power management device. | 3 | * Functions to access TPS65010 power management device. |
4 | * | 4 | * |
@@ -25,8 +25,8 @@ | |||
25 | * 675 Mass Ave, Cambridge, MA 02139, USA. | 25 | * 675 Mass Ave, Cambridge, MA 02139, USA. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | #ifndef __ASM_ARCH_TPS65010_H | 28 | #ifndef __LINUX_I2C_TPS65010_H |
29 | #define __ASM_ARCH_TPS65010_H | 29 | #define __LINUX_I2C_TPS65010_H |
30 | 30 | ||
31 | /* | 31 | /* |
32 | * ---------------------------------------------------------------------------- | 32 | * ---------------------------------------------------------------------------- |
@@ -152,5 +152,5 @@ extern int tps65010_config_vregs1(unsigned value); | |||
152 | */ | 152 | */ |
153 | extern int tps65013_set_low_pwr(unsigned mode); | 153 | extern int tps65013_set_low_pwr(unsigned mode); |
154 | 154 | ||
155 | #endif /* __ASM_ARCH_TPS65010_H */ | 155 | #endif /* __LINUX_I2C_TPS65010_H */ |
156 | 156 | ||