]> git.hungrycats.org Git - linux/commit
PCI: fix up probe functions for synclink drivers
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 13 Oct 2003 04:06:38 +0000 (21:06 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 13 Oct 2003 04:06:38 +0000 (21:06 -0700)
commit98cc783fa78ef1e9fdcf7003ff04634b1421522e
tree160392188d0d6dbd8e64a85a9624c6bae9c80139
parentd93bc78627724eb0e0ef2ea10aae18f862c59577
PCI: fix up probe functions for synclink drivers

Can not be marked __init, must be marked __devinit or not at all.
If it is marked __init, then oops can happen by a user writing to the
"new_id" file from sysfs.
drivers/char/synclink.c
drivers/char/synclinkmp.c