projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f68e148
)
pcmcia: yenta: add missing __devexit marking
author
Mike Frysinger
<
[email protected]
>
Tue, 22 Sep 2009 00:03:53 +0000
(17:03 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 22 Sep 2009 14:17:42 +0000
(07:17 -0700)
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 <
[email protected]
>
Cc: Daniel Ritz <
[email protected]
>
Cc: Dominik Brodowski <
[email protected]
>
Cc: Greg KH <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/pcmcia/yenta_socket.c
patch
|
blob
|
history
diff --git
a/drivers/pcmcia/yenta_socket.c
b/drivers/pcmcia/yenta_socket.c
index 737fe5d87c40f10a262bfd6d4830a36baeab850e..b459e87a30acf2938c4b2b01e9df276623c54937 100644
(file)
--- 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)
/*
* 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);