diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-04-23 12:30:52 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-04-26 05:21:35 -0400 |
commit | 8bf874a474f17e2d0fca13456e773a11fa4715ca (patch) | |
tree | d09313f9fb01f7d12f3019cfb3037420e24d2bb3 /drivers/mfd/ab8500-gpadc.c | |
parent | 4adedc57e0fd2a6efa6a7d84405b8d5c2a956c3d (diff) |
mfd: ab8500: Export ab8500_gpadc_sw_hw_convert properly
Apparently the ab8500_gpadc_sw_hw_convert function got renamed
from ab8500_gpadc_convert to ab8500_gpadc_sw_hw_convert in
commit 734823462 "mfd: ab8500-gpadc: Add gpadc hw conversion",
but the export for this function did not get changed at the
same time, causing this allyesconfig error:
ERROR: "ab8500_gpadc_sw_hw_convert" [drivers/hwmon/ab8500.ko] undefined!
This patch fixes the export.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: M'boumba Cedric Madianga <cedric.madianga@stericsson.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Mattias WALLIN <mattias.wallin@stericsson.com>
Cc: Michel JAOUEN <michel.jaouen@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ab8500-gpadc.c')
-rw-r--r-- | drivers/mfd/ab8500-gpadc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-gpadc.c b/drivers/mfd/ab8500-gpadc.c index 65f72284185d..5e65b28a5d09 100644 --- a/drivers/mfd/ab8500-gpadc.c +++ b/drivers/mfd/ab8500-gpadc.c | |||
@@ -332,7 +332,7 @@ if (ad_value < 0) { | |||
332 | 332 | ||
333 | return voltage; | 333 | return voltage; |
334 | } | 334 | } |
335 | EXPORT_SYMBOL(ab8500_gpadc_convert); | 335 | EXPORT_SYMBOL(ab8500_gpadc_sw_hw_convert); |
336 | 336 | ||
337 | /** | 337 | /** |
338 | * ab8500_gpadc_read_raw() - gpadc read | 338 | * ab8500_gpadc_read_raw() - gpadc read |