Commit 7131acef authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman

Revert "power: bq27xxx_battery: Remove unneeded dependency in Kconfig"

This reverts commit 6bd03ce3, it was applied
in error and cuased this link failure

drivers/built-in.o: In function `bq27xxx_battery_i2c_read':
core.c:(.text+0xa6da8): undefined reference to `i2c_transfer'
drivers/built-in.o: In function `bq27xxx_battery_init':
core.c:(.init.text+0x68e0): undefined reference to `i2c_register_driver'
drivers/built-in.o: In function `bq27xxx_battery_exit':
core.c:(.exit.text+0xc6c): undefined reference to `i2c_del_driver'

Later upstream kernels fixed this with a larger rework in commit
703df6c0 ("power: bq27xxx_battery: Reorganize I2C into a module"),
but we cannot backport that to 4.4.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 633c324b
...@@ -159,6 +159,7 @@ config BATTERY_SBS ...@@ -159,6 +159,7 @@ config BATTERY_SBS
config BATTERY_BQ27XXX config BATTERY_BQ27XXX
tristate "BQ27xxx battery driver" tristate "BQ27xxx battery driver"
depends on I2C || I2C=n
help help
Say Y here to enable support for batteries with BQ27xxx (I2C/HDQ) chips. Say Y here to enable support for batteries with BQ27xxx (I2C/HDQ) chips.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment