aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorXiong Zhou <[email protected]>2013-05-07 10:15:56 +0800
committerAnton Vorontsov <[email protected]>2013-05-10 11:04:15 -0700
commita2d0dbb4b55681874c5f288538ae55ae69baeaff (patch)
treeb56e567eb19d147039df9d452ddd3ed37742f82a /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent237a1b01fdb29df6a28d50d6dbe7a988c4fb3625 (diff)
bq27x00: Fix I2C dependency in KConfig
This patch fixes build failure(randconfig) of next-20130501. When config I2C as m, BATTERY_BQ27x00 as y, here comes the failure. The driver depends on I2C only if I2C is not disabled, as Lars commented. Last version of this patch make the driver depend on I2C unconditionally. Failure message: drivers/built-in.o: In function `bq27x00_read_i2c': bq27x00_battery.c:(.text+0x1082a7): undefined reference to `i2c_transfer' drivers/built-in.o: In function `bq27x00_battery_init': bq27x00_battery.c:(.init.text+0x6085): undefined reference to `i2c_register_driver' bq27x00_battery.c:(.init.text+0x60c7): undefined reference to `i2c_del_driver' drivers/built-in.o: In function `bq27x00_battery_exit': bq27x00_battery.c:(.exit.text+0xbf0): undefined reference to `i2c_del_driver' make: *** [vmlinux] Error 1 Signed-off-by: Xiong Zhou <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions