• Arnd Bergmann's avatar
    Revert "power: bq27xxx_battery: Remove unneeded dependency in Kconfig" · 7131acef
    Arnd Bergmann authored
    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>
    7131acef
Kconfig 14.7 KB