diff options
author | Arnd Bergmann <arnd@arndb.de> | 2025-05-03 16:04:26 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-05-03 19:16:59 +0200 |
commit | 1ea48c51f03fc3186ee0bcc05d06b652c209e0ae (patch) | |
tree | 2eeab7c6f49806f24731f31969f53d9737d033b8 /net/lapb/lapb_timer.c | |
parent | 60cd40eee4f4f57e88bd5dd03f299eb9e17c73e5 (diff) |
power: supply: max77976: add EXTCON dependency
max8971 is written to work with or without extcon, but it fails
to link when built-in when the extcon subsystem is in a loadable
module:
x86_64-linux-ld: drivers/power/supply/max8971_charger.o: in function `max8971_probe':
max8971_charger.c:(.text+0x2ab): undefined reference to `extcon_find_edev_by_node'
Add the appropriate dependency that allows the working cases but
prevents the link failure.
Fixes: 60cd40eee4f4 ("power: supply: Add support for Maxim MAX8971 charger")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250503140431.438727-1-arnd@kernel.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions