diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-12-20 18:28:19 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-09 00:37:45 +0100 |
commit | eedea80fe07a1548e78b51d36188f6d0fc876658 (patch) | |
tree | 49fd5dd4563a789339a313717d7f9b677f98eae9 /drivers/mfd | |
parent | d4e948636bd1d9bdf07d38d63d324812725f9d88 (diff) | |
download | linux-eedea80fe07a1548e78b51d36188f6d0fc876658.tar.gz linux-eedea80fe07a1548e78b51d36188f6d0fc876658.tar.bz2 linux-eedea80fe07a1548e78b51d36188f6d0fc876658.zip |
mfd: Fix STMPE I2c build failure
STMPE i2c is a bool and should depend on I2c=y.
That fixes:
drivers/built-in.o: In function `i2c_block_write':
stmpe-i2c.c:(.text+0xf4553): undefined reference to
+`i2c_smbus_write_i2c_block_data'
drivers/built-in.o: In function `i2c_block_read':
stmpe-i2c.c:(.text+0xf457f): undefined reference to
+`i2c_smbus_read_i2c_block_data'
drivers/built-in.o: In function `i2c_reg_write':
stmpe-i2c.c:(.text+0xf45ab): undefined reference to
`i2c_smbus_write_byte_data'
drivers/built-in.o: In function `i2c_reg_read':
stmpe-i2c.c:(.text+0xf45d4): undefined reference to `i2c_smbus_read_byte_data'
drivers/built-in.o: In function `stmpe_init':
stmpe-i2c.c:(.init.text+0xaf22): undefined reference to `i2c_register_driver'
drivers/built-in.o: In function `stmpe_exit':
stmpe-i2c.c:(.exit.text+0x5e5): undefined reference to `i2c_del_driver'
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 06766ec5e288..1bfc561bfd14 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -284,7 +284,7 @@ depends on MFD_STMPE config STMPE_I2C bool "STMPE I2C Inteface" - depends on I2C + depends on I2C=y default y help This is used to enable I2C interface of STMPE |