[PATCH] drivers/sound/oss: Replace pci_module_init() with pci_register_driver()
Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
This commit is contained in:
@ -3624,7 +3624,7 @@ static int __init init_maestro(void)
|
||||
{
|
||||
int rc;
|
||||
|
||||
rc = pci_module_init(&maestro_pci_driver);
|
||||
rc = pci_register_driver(&maestro_pci_driver);
|
||||
if (rc < 0)
|
||||
return rc;
|
||||
|
||||
|
Reference in New Issue
Block a user