From: Arnd Bergmann Date: Wed, 9 Apr 2014 15:18:10 +0000 (+0200) Subject: iio:adc: at91 requires the input subsystem X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~283^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=758ee467d37b6de6b3ca412d0cc90d2b9966b1af;p=pandora-kernel.git iio:adc: at91 requires the input subsystem Building the at91 adc driver with CONFIG_INPUT disabled results in this build error: ERROR: "input_event" [drivers/iio/adc/at91_adc.ko] undefined! ERROR: "input_unregister_device" [drivers/iio/adc/at91_adc.ko] undefined! ERROR: "input_free_device" [drivers/iio/adc/at91_adc.ko] undefined! ERROR: "input_register_device" [drivers/iio/adc/at91_adc.ko] undefined! ERROR: "input_set_abs_params" [drivers/iio/adc/at91_adc.ko] undefined! ERROR: "input_allocate_device" [drivers/iio/adc/at91_adc.ko] undefined! To make sure we can build random configurations, this adds a Kconfig dependency on CONFIG_INPUT, as we do for other similar drivers. Signed-off-by: Arnd Bergmann Cc: linux-iio@vger.kernel.org Cc: Josh Wu Cc: Maxime Ripard Acked-by: Nicolas Ferre Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed