diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-04-14 12:25:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-18 17:54:31 -0400 |
commit | 0ed0d579cb19e00acda762bad0d526477833c4e7 (patch) | |
tree | f5e5e3bf0e55ac41221f5ba612f50c5dc8da002d /drivers/misc/ad525x_dpot.c | |
parent | 2dc60c589ba810b0c746c91f390a6796b4176572 (diff) |
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>
Diffstat (limited to 'drivers/misc/ad525x_dpot.c')
-rw-r--r-- | drivers/misc/ad525x_dpot.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
749 | } | 749 | } |
750 | EXPORT_SYMBOL(ad_dpot_probe); | 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 | struct dpot_data *data = dev_get_drvdata(dev); | 754 | struct dpot_data *data = dev_get_drvdata(dev); |
755 | int i; | 755 | int i; |