From: Arnd Bergmann Date: Sat, 14 Apr 2012 16:25:04 +0000 (-0600) Subject: misc: do not mark exported functions __devexit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0ed0d579cb19e00acda762bad0d526477833c4e7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git misc: do not mark exported functions __devexit No symbol can be exported when the section is discarded - the only solution I could think of is not to mark symbols as __devexit when they are exported. Signed-off-by: Arnd Bergmann Signed-off-by: Mathieu Poirier Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/ad525x_dpot.c b/drivers/misc/ad525x_dpot.c index 1d1d42615915..6938f1be664d 100644 --- a/drivers/misc/ad525x_dpot.c +++ b/drivers/misc/ad525x_dpot.c @@ -749,7 +749,7 @@ exit: } EXPORT_SYMBOL(ad_dpot_probe); -__devexit int ad_dpot_remove(struct device *dev) +int ad_dpot_remove(struct device *dev) { struct dpot_data *data = dev_get_drvdata(dev); int i;