]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] remove devinit from ioc4 pci_driver
authorDave Jones <davej@redhat.com>
Thu, 29 Jun 2006 09:24:31 +0000 (02:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 29 Jun 2006 17:26:20 +0000 (10:26 -0700)
Documention/pci.txt states..
"The struct pci_driver shouldn't be marked with any of these tags."
(Referring to __devinit and friends).

(akpm: good documentation, that.  Link this driver into vmlinux with hotplug
CPU disabled and it'll crash).

Signed-off-by: Dave Jones <davej@redhat.com>
Cc: Brent Casavant <bcasavan@sgi.com>
Cc: Pat Gefre <pfg@sgi.com>
Cc: Jes Sorensen <jes@sgi.com>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/sn/ioc4.c

index 8256a97eb508c1b4db3ff98574894091cb51dece..8562821e6498be2324f8763f17d1292c70f105a7 100644 (file)
@@ -438,7 +438,7 @@ static struct pci_device_id ioc4_id_table[] = {
        {0}
 };
 
-static struct pci_driver __devinitdata ioc4_driver = {
+static struct pci_driver ioc4_driver = {
        .name = "IOC4",
        .id_table = ioc4_id_table,
        .probe = ioc4_probe,