mfd: ab8500: Export ab8500_gpadc_sw_hw_convert properly
authorArnd Bergmann <[email protected]>
Tue, 23 Apr 2013 16:30:52 +0000 (18:30 +0200)
committerSamuel Ortiz <[email protected]>
Fri, 26 Apr 2013 09:21:35 +0000 (11:21 +0200)
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 <[email protected]>
Cc: M'boumba Cedric Madianga <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Mattias WALLIN <[email protected]>
Cc: Michel JAOUEN <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
drivers/mfd/ab8500-gpadc.c

index 65f72284185d9cbf2d9eff0125015c7557fd119a..5e65b28a5d0901e1dc5058c084dc444cd2c4a1bd 100644 (file)
@@ -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