diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-09-25 03:05:31 -0400 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-09-25 10:05:50 -0400 |
commit | 6a91e854442cf950d9cb806891667d16c4a41d88 (patch) | |
tree | 283efcb97fe0fc9e1d443039a4a62af37ebd2a23 /drivers | |
parent | fd642bb94c75f08ed15111a7fe75027da6abdd07 (diff) |
power: max14577: Fix circular config SYSFS dependency
Make the max14577 charger driver depending on SYSFS instead selecting
it. This fixes warning on x86_64 with allmodconfig:
scripts/kconfig/conf --allmodconfig Kconfig
fs/sysfs/Kconfig:1:error: recursive dependency detected!
fs/sysfs/Kconfig:1: symbol SYSFS is selected by CHARGER_MAX14577
drivers/power/Kconfig:327: symbol CHARGER_MAX14577 depends on POWER_SUPPLY
drivers/power/Kconfig:1: symbol POWER_SUPPLY is selected by HID_SONY
drivers/hid/Kconfig:638: symbol HID_SONY depends on NEW_LEDS
drivers/leds/Kconfig:8: symbol NEW_LEDS is selected by SENSORS_APPLESMC
drivers/hwmon/Kconfig:299: symbol SENSORS_APPLESMC depends on HWMON
drivers/hwmon/Kconfig:5: symbol HWMON is selected by EEEPC_LAPTOP
drivers/platform/x86/Kconfig:496: symbol EEEPC_LAPTOP depends on HOTPLUG_PCI
drivers/pci/hotplug/Kconfig:5: symbol HOTPLUG_PCI depends on SYSFS
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/power/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 04e1d2fe2201..0108c2af005b 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig | |||
@@ -327,7 +327,7 @@ config CHARGER_MANAGER | |||
327 | config CHARGER_MAX14577 | 327 | config CHARGER_MAX14577 |
328 | tristate "Maxim MAX14577/77836 battery charger driver" | 328 | tristate "Maxim MAX14577/77836 battery charger driver" |
329 | depends on MFD_MAX14577 | 329 | depends on MFD_MAX14577 |
330 | select SYSFS | 330 | depends on SYSFS |
331 | help | 331 | help |
332 | Say Y to enable support for the battery charger control sysfs and | 332 | Say Y to enable support for the battery charger control sysfs and |
333 | platform data of MAX14577/77836 MUICs. | 333 | platform data of MAX14577/77836 MUICs. |