diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-12-20 12:28:19 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-08 18:37:45 -0500 |
commit | eedea80fe07a1548e78b51d36188f6d0fc876658 (patch) | |
tree | 49fd5dd4563a789339a313717d7f9b677f98eae9 /drivers/mfd | |
parent | d4e948636bd1d9bdf07d38d63d324812725f9d88 (diff) |
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 | |||
284 | 284 | ||
285 | config STMPE_I2C | 285 | config STMPE_I2C |
286 | bool "STMPE I2C Inteface" | 286 | bool "STMPE I2C Inteface" |
287 | depends on I2C | 287 | depends on I2C=y |
288 | default y | 288 | default y |
289 | help | 289 | help |
290 | This is used to enable I2C interface of STMPE | 290 | This is used to enable I2C interface of STMPE |