Skip to contentSkip to conversation

pcmcia: yenta: add missing __devexit marking

PATCH New Mike Frysinger 1 participant 1 message May 18, 2009 Pcmcia

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/pcmcia/yenta_socket.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/pcmcia/yenta_socket.c +1 -1
index 3ecd7c9..2ed1e15 100644
@@ -717,7 +717,7 @@ static void yenta_free_resources(struct yenta_socket *socket)
 /*
  * 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);
 
Signature · 1 line
1.6.3