Skip to content

Commit 85bd843

Browse files
Dave JonesLinus Torvalds
authored andcommitted
[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 <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>
1 parent 1e075d5 commit 85bd843

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/sn/ioc4.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ static struct pci_device_id ioc4_id_table[] = {
438438
{0}
439439
};
440440

441-
static struct pci_driver __devinitdata ioc4_driver = {
441+
static struct pci_driver ioc4_driver = {
442442
.name = "IOC4",
443443
.id_table = ioc4_id_table,
444444
.probe = ioc4_probe,

0 commit comments

Comments
 (0)