summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/micrel
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-04-20 12:56:10 +0200
committerDavid S. Miller <davem@davemloft.net>2012-04-21 21:28:47 +0200
commit65f6092517466fa18ad77743d39723787e8fa051 (patch)
tree676391a0394e246ea79033a0ba7ebbaddeb5f4f6 /drivers/net/ethernet/micrel
parentdavinci_cpdma: export symbols used by other drivers (diff)
downloadlinux-65f6092517466fa18ad77743d39723787e8fa051.tar.xz
linux-65f6092517466fa18ad77743d39723787e8fa051.zip
drivers/net: add missing __devexit_p() annotations
Drivers that refer to a __devexit function in an operations structure need to annotate that pointer with __devexit_p so replace it with a NULL pointer when the section gets discarded. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/micrel')
-rw-r--r--drivers/net/ethernet/micrel/ks8842.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/micrel/ks8842.c b/drivers/net/ethernet/micrel/ks8842.c
index f84dd2dc82b6..24fb049ac2f2 100644
--- a/drivers/net/ethernet/micrel/ks8842.c
+++ b/drivers/net/ethernet/micrel/ks8842.c
@@ -1262,7 +1262,7 @@ static struct platform_driver ks8842_platform_driver = {
.owner = THIS_MODULE,
},
.probe = ks8842_probe,
- .remove = ks8842_remove,
+ .remove = __devexit_p(ks8842_remove),
};
module_platform_driver(ks8842_platform_driver);