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>
This commit is contained in:
Wolfram Sang 2017-08-14 18:34:23 +02:00 committed by Lee Jones
parent 5771a8c088
commit 9787076c43
12 changed files with 12 additions and 12 deletions

View File

@ -14,7 +14,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/platform_data/gpio-omap.h> #include <linux/platform_data/gpio-omap.h>
#include <linux/i2c/tps65010.h> #include <linux/mfd/tps65010.h>
#include "board-h2.h" #include "board-h2.h"
#include "mmc.h" #include "mmc.h"

View File

@ -28,7 +28,7 @@
#include <linux/mtd/partitions.h> #include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h> #include <linux/mtd/physmap.h>
#include <linux/input.h> #include <linux/input.h>
#include <linux/i2c/tps65010.h> #include <linux/mfd/tps65010.h>
#include <linux/smc91x.h> #include <linux/smc91x.h>
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <linux/platform_data/gpio-omap.h> #include <linux/platform_data/gpio-omap.h>

View File

@ -14,7 +14,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/i2c/tps65010.h> #include <linux/mfd/tps65010.h>
#include "common.h" #include "common.h"
#include "board-h3.h" #include "board-h3.h"

View File

@ -28,7 +28,7 @@
#include <linux/mtd/physmap.h> #include <linux/mtd/physmap.h>
#include <linux/input.h> #include <linux/input.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/i2c/tps65010.h> #include <linux/mfd/tps65010.h>
#include <linux/smc91x.h> #include <linux/smc91x.h>
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <linux/platform_data/gpio-omap.h> #include <linux/platform_data/gpio-omap.h>

View File

@ -38,7 +38,7 @@
#include <linux/mtd/mtd.h> #include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h> #include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h> #include <linux/mtd/physmap.h>
#include <linux/i2c/tps65010.h> #include <linux/mfd/tps65010.h>
#include <linux/platform_data/gpio-omap.h> #include <linux/platform_data/gpio-omap.h>
#include <linux/platform_data/omap1_bl.h> #include <linux/platform_data/omap1_bl.h>

View File

@ -17,7 +17,7 @@
#include <linux/cpufreq.h> #include <linux/cpufreq.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/i2c/tps65010.h> #include <linux/mfd/tps65010.h>
#include <plat/cpu-freq.h> #include <plat/cpu-freq.h>
#include <mach/gpio-samsung.h> #include <mach/gpio-samsung.h>

View File

@ -24,7 +24,7 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/i2c/tps65010.h> #include <linux/mfd/tps65010.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>

View File

@ -32,7 +32,7 @@
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/i2c/tps65010.h> #include <linux/mfd/tps65010.h>
#include <linux/gpio/driver.h> #include <linux/gpio/driver.h>

View File

@ -53,7 +53,7 @@
#define DRIVER_DESC "OHCI OMAP driver" #define DRIVER_DESC "OHCI OMAP driver"
#ifdef CONFIG_TPS65010 #ifdef CONFIG_TPS65010
#include <linux/i2c/tps65010.h> #include <linux/mfd/tps65010.h>
#else #else
#define LOW 0 #define LOW 0

View File

@ -96,7 +96,7 @@ struct isp1301 {
#if IS_REACHABLE(CONFIG_TPS65010) #if IS_REACHABLE(CONFIG_TPS65010)
#include <linux/i2c/tps65010.h> #include <linux/mfd/tps65010.h>
#else #else

View File

@ -21,7 +21,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/i2c/tps65010.h> #include <linux/mfd/tps65010.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include "omapfb.h" #include "omapfb.h"

View File

@ -1,4 +1,4 @@
/* linux/i2c/tps65010.h /* linux/mfd/tps65010.h
* *
* Functions to access TPS65010 power management device. * Functions to access TPS65010 power management device.
* *