Commit 85bd8434 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[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: default avatarDave 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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1e075d58
...@@ -438,7 +438,7 @@ static struct pci_device_id ioc4_id_table[] = { ...@@ -438,7 +438,7 @@ static struct pci_device_id ioc4_id_table[] = {
{0} {0}
}; };
static struct pci_driver __devinitdata ioc4_driver = { static struct pci_driver ioc4_driver = {
.name = "IOC4", .name = "IOC4",
.id_table = ioc4_id_table, .id_table = ioc4_id_table,
.probe = ioc4_probe, .probe = ioc4_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment