Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: tps65010: Move header file out of I2C realm

include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Wolfram Sang and committed by
Lee Jones
9787076c 5771a8c0

+12 -12
+1 -1
arch/arm/mach-omap1/board-h2-mmc.c
··· 14 14 #include <linux/gpio.h> 15 15 #include <linux/platform_device.h> 16 16 #include <linux/platform_data/gpio-omap.h> 17 - #include <linux/i2c/tps65010.h> 17 + #include <linux/mfd/tps65010.h> 18 18 19 19 #include "board-h2.h" 20 20 #include "mmc.h"
+1 -1
arch/arm/mach-omap1/board-h2.c
··· 28 28 #include <linux/mtd/partitions.h> 29 29 #include <linux/mtd/physmap.h> 30 30 #include <linux/input.h> 31 - #include <linux/i2c/tps65010.h> 31 + #include <linux/mfd/tps65010.h> 32 32 #include <linux/smc91x.h> 33 33 #include <linux/omapfb.h> 34 34 #include <linux/platform_data/gpio-omap.h>
+1 -1
arch/arm/mach-omap1/board-h3-mmc.c
··· 14 14 #include <linux/gpio.h> 15 15 #include <linux/platform_device.h> 16 16 17 - #include <linux/i2c/tps65010.h> 17 + #include <linux/mfd/tps65010.h> 18 18 19 19 #include "common.h" 20 20 #include "board-h3.h"
+1 -1
arch/arm/mach-omap1/board-h3.c
··· 28 28 #include <linux/mtd/physmap.h> 29 29 #include <linux/input.h> 30 30 #include <linux/spi/spi.h> 31 - #include <linux/i2c/tps65010.h> 31 + #include <linux/mfd/tps65010.h> 32 32 #include <linux/smc91x.h> 33 33 #include <linux/omapfb.h> 34 34 #include <linux/platform_data/gpio-omap.h>
+1 -1
arch/arm/mach-omap1/board-osk.c
··· 38 38 #include <linux/mtd/mtd.h> 39 39 #include <linux/mtd/partitions.h> 40 40 #include <linux/mtd/physmap.h> 41 - #include <linux/i2c/tps65010.h> 41 + #include <linux/mfd/tps65010.h> 42 42 #include <linux/platform_data/gpio-omap.h> 43 43 #include <linux/platform_data/omap1_bl.h> 44 44
+1 -1
arch/arm/mach-s3c24xx/mach-osiris-dvs.c
··· 17 17 #include <linux/cpufreq.h> 18 18 #include <linux/gpio.h> 19 19 20 - #include <linux/i2c/tps65010.h> 20 + #include <linux/mfd/tps65010.h> 21 21 22 22 #include <plat/cpu-freq.h> 23 23 #include <mach/gpio-samsung.h>
+1 -1
arch/arm/mach-s3c24xx/mach-osiris.c
··· 24 24 #include <linux/io.h> 25 25 #include <linux/platform_device.h> 26 26 27 - #include <linux/i2c/tps65010.h> 27 + #include <linux/mfd/tps65010.h> 28 28 29 29 #include <asm/mach-types.h> 30 30 #include <asm/mach/arch.h>
+1 -1
drivers/mfd/tps65010.c
··· 32 32 #include <linux/mutex.h> 33 33 #include <linux/platform_device.h> 34 34 35 - #include <linux/i2c/tps65010.h> 35 + #include <linux/mfd/tps65010.h> 36 36 37 37 #include <linux/gpio/driver.h> 38 38
+1 -1
drivers/usb/host/ohci-omap.c
··· 53 53 #define DRIVER_DESC "OHCI OMAP driver" 54 54 55 55 #ifdef CONFIG_TPS65010 56 - #include <linux/i2c/tps65010.h> 56 + #include <linux/mfd/tps65010.h> 57 57 #else 58 58 59 59 #define LOW 0
+1 -1
drivers/usb/phy/phy-isp1301-omap.c
··· 96 96 97 97 #if IS_REACHABLE(CONFIG_TPS65010) 98 98 99 - #include <linux/i2c/tps65010.h> 99 + #include <linux/mfd/tps65010.h> 100 100 101 101 #else 102 102
+1 -1
drivers/video/fbdev/omap/lcd_h3.c
··· 21 21 22 22 #include <linux/module.h> 23 23 #include <linux/platform_device.h> 24 - #include <linux/i2c/tps65010.h> 24 + #include <linux/mfd/tps65010.h> 25 25 #include <linux/gpio.h> 26 26 27 27 #include "omapfb.h"
+1 -1
include/linux/i2c/tps65010.h include/linux/mfd/tps65010.h
··· 1 - /* linux/i2c/tps65010.h 1 + /* linux/mfd/tps65010.h 2 2 * 3 3 * Functions to access TPS65010 power management device. 4 4 *