Skip to content

Commit

Permalink
misc: do not mark exported functions __devexit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann authored and Greg Kroah-Hartman committed Apr 18, 2012
1 parent 2dc60c5 commit 0ed0d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/misc/ad525x_dpot.c
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ int __devinit ad_dpot_probe(struct device *dev,
}
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;
Expand Down

0 comments on commit 0ed0d57

Please sign in to comment.