Explorar o código

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>
Arnd Bergmann %!s(int64=13) %!d(string=hai) anos
pai
achega
0ed0d579cb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/misc/ad525x_dpot.c

+ 1 - 1
drivers/misc/ad525x_dpot.c

@@ -749,7 +749,7 @@ exit:
 }
 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;