mfd: ab8500: Debugfs code depends on gpadc
authorArnd Bergmann <arnd@arndb.de>
Fri, 3 May 2013 07:52:32 +0000 (08:52 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 16 May 2013 22:42:29 +0000 (00:42 +0200)
commit3993eff9da7cac9749ba2b5812873d3a903dfd8c
tree734cbc999176b938560ddd3d92bee182c1e6d91e
parent151978bf671dd2f741eab79c91d7d74bad49929c
mfd: ab8500: Debugfs code depends on gpadc

The AB8500_DEBUG code specifically requires access to the gpadc code,
not just the common ab8500 driver.

drivers/built-in.o: In function `ab8500_gpadc_bat_ctrl_print':
 mfd/ab8500-debugfs.c:1733: undefined reference to `ab8500_gpadc_get'
 mfd/ab8500-debugfs.c:1734: undefined reference to `ab8500_gpadc_read_raw'
 mfd/ab8500-debugfs.c:1736: undefined reference to `ab8500_gpadc_ad_to_voltage'

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig