From: Dave Jones Date: Thu, 29 Jun 2006 09:24:31 +0000 (-0700) Subject: [PATCH] remove devinit from ioc4 pci_driver X-Git-Tag: v2.6.18-rc1~401 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85bd84345f64cb953101ddd8ab1340dde351c579;p=linux-2.6 [PATCH] remove devinit from ioc4 pci_driver 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 Cc: Brent Casavant Cc: Pat Gefre Cc: Jes Sorensen Cc: Tony Luck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/sn/ioc4.c b/drivers/sn/ioc4.c index 8256a97eb5..8562821e64 100644 --- a/drivers/sn/ioc4.c +++ b/drivers/sn/ioc4.c @@ -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,