aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/yenta_socket.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-21 20:03:53 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-22 10:17:42 -0400
commit734f3fa18d460995c8621cf2331b7fba88c977ce (patch)
tree64efcf651bcb43ce6d361fa1accffbf07056422d /drivers/pcmcia/yenta_socket.c
parentf68e14805085972b4e0b0ab684af37f713b9c262 (diff)
pcmcia: yenta: add missing __devexit marking
The remove member of the pci_driver yenta_cardbus_driver uses __devexit_p(), so the remove function itself should be marked with __devexit. Even more so considering the probe function is marked with __devinit. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Cc: Daniel Ritz <daniel.ritz-ml@swissonline.ch> Cc: Dominik Brodowski <linux@dominikbrodowski.net> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pcmcia/yenta_socket.c')
-rw-r--r--drivers/pcmcia/yenta_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c
index 737fe5d87c40..b459e87a30ac 100644
--- a/drivers/pcmcia/yenta_socket.c
+++ b/drivers/pcmcia/yenta_socket.c
@@ -717,7 +717,7 @@ static void yenta_free_resources(struct yenta_socket *socket)
717/* 717/*
718 * Close it down - release our resources and go home.. 718 * Close it down - release our resources and go home..
719 */ 719 */
720static void yenta_close(struct pci_dev *dev) 720static void __devexit yenta_close(struct pci_dev *dev)
721{ 721{
722 struct yenta_socket *sock = pci_get_drvdata(dev); 722 struct yenta_socket *sock = pci_get_drvdata(dev);
723 723