Commit 3993eff9 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Samuel Ortiz

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 151978bf
...@@ -579,7 +579,7 @@ config AB8500_CORE ...@@ -579,7 +579,7 @@ config AB8500_CORE
config AB8500_DEBUG config AB8500_DEBUG
bool "Enable debug info via debugfs" bool "Enable debug info via debugfs"
depends on AB8500_CORE && DEBUG_FS depends on AB8500_GPADC && DEBUG_FS
default y if DEBUG_FS default y if DEBUG_FS
help help
Select this option if you want debug information using the debug Select this option if you want debug information using the debug
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment