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/cs46xx.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/cs46xx.c')
-rw-r--r-- | sound/oss/cs46xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/cs46xx.c b/sound/oss/cs46xx.c index 0da4d93f04a6..58e25c82eaf2 100644 --- a/sound/oss/cs46xx.c +++ b/sound/oss/cs46xx.c | |||
@@ -5690,7 +5690,7 @@ static int __init cs46xx_init_module(void) | |||
5690 | int rtn = 0; | 5690 | int rtn = 0; |
5691 | CS_DBGOUT(CS_INIT | CS_FUNCTION, 2, printk(KERN_INFO | 5691 | CS_DBGOUT(CS_INIT | CS_FUNCTION, 2, printk(KERN_INFO |
5692 | "cs46xx: cs46xx_init_module()+ \n")); | 5692 | "cs46xx: cs46xx_init_module()+ \n")); |
5693 | rtn = pci_module_init(&cs46xx_pci_driver); | 5693 | rtn = pci_register_driver(&cs46xx_pci_driver); |
5694 | 5694 | ||
5695 | if(rtn == -ENODEV) | 5695 | if(rtn == -ENODEV) |
5696 | { | 5696 | { |