Commit 734f3fa1 authored by Mike Frysinger's avatar Mike Frysinger Committed by Linus Torvalds

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: default avatarMike 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f68e1480
...@@ -717,7 +717,7 @@ static void yenta_free_resources(struct yenta_socket *socket) ...@@ -717,7 +717,7 @@ static void yenta_free_resources(struct yenta_socket *socket)
/* /*
* Close it down - release our resources and go home.. * Close it down - release our resources and go home..
*/ */
static void yenta_close(struct pci_dev *dev) static void __devexit yenta_close(struct pci_dev *dev)
{ {
struct yenta_socket *sock = pci_get_drvdata(dev); struct yenta_socket *sock = pci_get_drvdata(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment