diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-12-06 18:33:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 15:13:22 -0500 |
commit | 46654728b55bf5d09dc91fa45f532131d8a609f2 (patch) | |
tree | d1af8667990afe51813ba82d25f495832c7021d4 /sound/oss/maestro.c | |
parent | 9bfab8cec652c80b4864b4d9247520dca042c2df (diff) |
[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>
Diffstat (limited to 'sound/oss/maestro.c')
-rw-r--r-- | sound/oss/maestro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/maestro.c b/sound/oss/maestro.c index f9ac5b16f61a..d4b569acf764 100644 --- a/sound/oss/maestro.c +++ b/sound/oss/maestro.c | |||
@@ -3624,7 +3624,7 @@ static int __init init_maestro(void) | |||
3624 | { | 3624 | { |
3625 | int rc; | 3625 | int rc; |
3626 | 3626 | ||
3627 | rc = pci_module_init(&maestro_pci_driver); | 3627 | rc = pci_register_driver(&maestro_pci_driver); |
3628 | if (rc < 0) | 3628 | if (rc < 0) |
3629 | return rc; | 3629 | return rc; |
3630 | 3630 | ||