Commit 0ed0d579cb19e00acda762bad0d526477833c4e7

Authored by Arnd Bergmann
Committed by Greg Kroah-Hartman
1 parent 2dc60c589b

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 <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/misc/ad525x_dpot.c
... ... @@ -749,7 +749,7 @@
749 749 }
750 750 EXPORT_SYMBOL(ad_dpot_probe);
751 751  
752   -__devexit int ad_dpot_remove(struct device *dev)
  752 +int ad_dpot_remove(struct device *dev)
753 753 {
754 754 struct dpot_data *data = dev_get_drvdata(dev);
755 755 int i;