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>
This commit is contained in:
parent
ba66ddfa61
commit
e772d782a6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue