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>
This commit is contained in:
parent
f68e148050
commit
734f3fa18d
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue