From: Arnd Bergmann Date: Tue, 23 Apr 2013 16:30:52 +0000 (+0200) Subject: mfd: ab8500: Export ab8500_gpadc_sw_hw_convert properly X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8bf874a474f17e2d0fca13456e773a11fa4715ca;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Cc: M'boumba Cedric Madianga Cc: Lee Jones Cc: Mattias WALLIN Cc: Michel JAOUEN Acked-by: Linus Walleij Signed-off-by: Samuel Ortiz --- 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) { return voltage; } -EXPORT_SYMBOL(ab8500_gpadc_convert); +EXPORT_SYMBOL(ab8500_gpadc_sw_hw_convert); /** * ab8500_gpadc_read_raw() - gpadc read