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>
This commit is contained in:
Arnd Bergmann 2012-04-14 10:25:04 -06:00 committed by Greg Kroah-Hartman
parent 2dc60c589b
commit 0ed0d579cb

View File

@ -749,7 +749,7 @@ exit:
} }
EXPORT_SYMBOL(ad_dpot_probe); 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); struct dpot_data *data = dev_get_drvdata(dev);
int i; int i;