diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-05-01 04:34:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-01 08:04:00 -0700 |
commit | e772d782a6b0f14d491a95445f0ec6767d66fb29 (patch) | |
tree | c9ccad3dbab71fb4302cda5101f3fbef4c55c9ea /drivers/pcmcia | |
parent | ba66ddfa613886cbb554f7b064dc05bdc2c7138b (diff) | |
download | kernel_samsung_tuna-e772d782a6b0f14d491a95445f0ec6767d66fb29.zip kernel_samsung_tuna-e772d782a6b0f14d491a95445f0ec6767d66fb29.tar.gz kernel_samsung_tuna-e772d782a6b0f14d491a95445f0ec6767d66fb29.tar.bz2 |
pcmcia: annotate cb_alloc with __ref
cb_alloc() uses a function (pci_scan_slot) that will be annotated __devinit.
Annotate cb_alloc() with __ref to tell modpost to ignore this reference.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/cardbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/cardbus.c b/drivers/pcmcia/cardbus.c index 714baae..fb2f38d 100644 --- a/drivers/pcmcia/cardbus.c +++ b/drivers/pcmcia/cardbus.c @@ -209,7 +209,7 @@ static void cardbus_assign_irqs(struct pci_bus *bus, int irq) } } -int cb_alloc(struct pcmcia_socket * s) +int __ref cb_alloc(struct pcmcia_socket * s) { struct pci_bus *bus = s->cb_dev->subordinate; struct pci_dev *dev; |