]> git.hungrycats.org Git - linux/commit
PCI: fix up probe functions for OSS drivers
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 13 Oct 2003 04:07:23 +0000 (21:07 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 13 Oct 2003 04:07:23 +0000 (21:07 -0700)
commit7fd37c976dd34267a6350806ddc16cb257f44281
tree993d73992bfd10f01d183040e62090c9e901f31f
parent98cc783fa78ef1e9fdcf7003ff04634b1421522e
PCI: fix up probe functions for OSS 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.
sound/oss/ali5455.c
sound/oss/i810_audio.c
sound/oss/maestro3.c
sound/oss/trident.c
sound/oss/via82cxxx_audio.c