[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 <[email protected]>
Cc: Brent Casavant <[email protected]>
Cc: Pat Gefre <[email protected]>
Cc: Jes Sorensen <[email protected]>
Cc: Tony Luck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Dave Jones 2006-06-29 02:24:31 -07:00 • committed by Linus Torvalds
commit 85bd84345f

View 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,