Skip to content

Commit

Permalink
[PATCH] remove devinit from ioc4 pci_driver
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Dave Jones authored and Linus Torvalds committed Jun 29, 2006
1 parent 1e075d5 commit 85bd843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sn/ioc4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 85bd843

Please sign in to comment.