]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pcmcia: annotate cb_alloc with __ref
authorSam Ravnborg <sam@ravnborg.org>
Thu, 1 May 2008 11:34:52 +0000 (04:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 May 2008 15:04:00 +0000 (08:04 -0700)
commite772d782a6b0f14d491a95445f0ec6767d66fb29
treec9ccad3dbab71fb4302cda5101f3fbef4c55c9ea
parentba66ddfa613886cbb554f7b064dc05bdc2c7138b
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>
drivers/pcmcia/cardbus.c