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/emu10k1/main.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/emu10k1/main.c')
-rw-r--r-- | sound/oss/emu10k1/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/emu10k1/main.c b/sound/oss/emu10k1/main.c index 9b905bae423e..23241cbdd90f 100644 --- a/sound/oss/emu10k1/main.c +++ b/sound/oss/emu10k1/main.c | |||
@@ -1428,7 +1428,7 @@ static int __init emu10k1_init_module(void) | |||
1428 | { | 1428 | { |
1429 | printk(KERN_INFO "Creative EMU10K1 PCI Audio Driver, version " DRIVER_VERSION ", " __TIME__ " " __DATE__ "\n"); | 1429 | printk(KERN_INFO "Creative EMU10K1 PCI Audio Driver, version " DRIVER_VERSION ", " __TIME__ " " __DATE__ "\n"); |
1430 | 1430 | ||
1431 | return pci_module_init(&emu10k1_pci_driver); | 1431 | return pci_register_driver(&emu10k1_pci_driver); |
1432 | } | 1432 | } |
1433 | 1433 | ||
1434 | static void __exit emu10k1_cleanup_module(void) | 1434 | static void __exit emu10k1_cleanup_module(void) |