extcon: extcon-arizona depends on INPUT
authorRandy Dunlap <rdunlap@xenotime.net>
Wed, 5 Sep 2012 20:18:53 +0000 (13:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 20:31:03 +0000 (13:31 -0700)
extcon-arizona uses input_*() functions so it should depend
on INPUT.

ERROR: "input_event" [drivers/extcon/extcon-arizona.ko] undefined!
ERROR: "input_free_device" [drivers/extcon/extcon-arizona.ko] undefined!
ERROR: "input_register_device" [drivers/extcon/extcon-arizona.ko] undefined!
ERROR: "input_set_capability" [drivers/extcon/extcon-arizona.ko] undefined!
ERROR: "input_allocate_device" [drivers/extcon/extcon-arizona.ko] undefined!
ERROR: "input_unregister_device" [drivers/extcon/extcon-arizona.ko] undefined!

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/Kconfig

index dd5b01b957aa81d642220da2365deef591a5dd5e..07122a9ef36e6592812aec1f97b3f830914be361 100644 (file)
@@ -47,7 +47,7 @@ config EXTCON_MAX8997
 
 config EXTCON_ARIZONA
        tristate "Wolfson Arizona EXTCON support"
-       depends on MFD_ARIZONA
+       depends on MFD_ARIZONA && INPUT
        help
          Say Y here to enable support for external accessory detection
          with Wolfson Arizona devices. These are audio CODECs with