mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
i2c/tps65010: move header to <linux/i2c/...>
Move the tps65010 header file from the OMAP arch directory to the more generic <linux/i2c/...> directory, and remove the spurious dependency of this driver on OMAP. Signed-off-by: David Brownell <[email protected]> Signed-off-by: Jean Delvare <[email protected]>
This commit is contained in:
parent
caada32afe
commit
6d16bfb5e8
11 changed files with 14 additions and 17 deletions
|
|
@ -88,12 +88,8 @@ config ISP1301_OMAP
|
|||
This driver can also be built as a module. If so, the module
|
||||
will be called isp1301_omap.
|
||||
|
||||
# NOTE: This isn't really OMAP-specific, except for the current
|
||||
# interface location in <include/asm-arm/arch-omap/tps65010.h>
|
||||
# and having mostly OMAP-specific board support
|
||||
config TPS65010
|
||||
tristate "TPS6501x Power Management chips"
|
||||
depends on ARCH_OMAP
|
||||
default y if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_OSK
|
||||
help
|
||||
If you say yes here you get support for the TPS6501x series of
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ struct isp1301 {
|
|||
|
||||
#if defined(CONFIG_TPS65010) || defined(CONFIG_TPS65010_MODULE)
|
||||
|
||||
#include <asm/arch/tps65010.h>
|
||||
#include <linux/i2c/tps65010.h>
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
#include <linux/seq_file.h>
|
||||
#include <linux/mutex.h>
|
||||
|
||||
#include <asm/arch/tps65010.h>
|
||||
#include <linux/i2c/tps65010.h>
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue