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/ad1889.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/ad1889.c')
-rw-r--r-- | sound/oss/ad1889.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/ad1889.c b/sound/oss/ad1889.c index 2cfd214e4c2a..a0d73f343100 100644 --- a/sound/oss/ad1889.c +++ b/sound/oss/ad1889.c | |||
@@ -1089,7 +1089,7 @@ static struct pci_driver ad1889_driver = { | |||
1089 | 1089 | ||
1090 | static int __init ad1889_init_module(void) | 1090 | static int __init ad1889_init_module(void) |
1091 | { | 1091 | { |
1092 | return pci_module_init(&ad1889_driver); | 1092 | return pci_register_driver(&ad1889_driver); |
1093 | } | 1093 | } |
1094 | 1094 | ||
1095 | static void ad1889_exit_module(void) | 1095 | static void ad1889_exit_module(void) |