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/rme96xx.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/rme96xx.c')
-rw-r--r-- | sound/oss/rme96xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/rme96xx.c b/sound/oss/rme96xx.c index 318dc51009fe..faa0b7919b65 100644 --- a/sound/oss/rme96xx.c +++ b/sound/oss/rme96xx.c | |||
@@ -1095,7 +1095,7 @@ static int __init init_rme96xx(void) | |||
1095 | devices = ((devices-1) & RME96xx_MASK_DEVS) + 1; | 1095 | devices = ((devices-1) & RME96xx_MASK_DEVS) + 1; |
1096 | printk(KERN_INFO RME_MESS" reserving %d dsp device(s)\n",devices); | 1096 | printk(KERN_INFO RME_MESS" reserving %d dsp device(s)\n",devices); |
1097 | numcards = 0; | 1097 | numcards = 0; |
1098 | return pci_module_init(&rme96xx_driver); | 1098 | return pci_register_driver(&rme96xx_driver); |
1099 | } | 1099 | } |
1100 | 1100 | ||
1101 | static void __exit cleanup_rme96xx(void) | 1101 | static void __exit cleanup_rme96xx(void) |