Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ed0d579 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2dc60c58
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;