summaryrefslogtreecommitdiff
path: root/sound/oss/emu10k1
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-12-06 15:33:15 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-09 12:13:22 -0800
commit46654728b55bf5d09dc91fa45f532131d8a609f2 (patch)
treed1af8667990afe51813ba82d25f495832c7021d4 /sound/oss/emu10k1
parent9bfab8cec652c80b4864b4d9247520dca042c2df (diff)
downloadlinux-3.10-46654728b55bf5d09dc91fa45f532131d8a609f2.tar.gz
linux-3.10-46654728b55bf5d09dc91fa45f532131d8a609f2.tar.bz2
linux-3.10-46654728b55bf5d09dc91fa45f532131d8a609f2.zip
[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')
-rw-r--r--sound/oss/emu10k1/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/emu10k1/main.c b/sound/oss/emu10k1/main.c
index 9b905bae423..23241cbdd90 100644
--- a/sound/oss/emu10k1/main.c
+++ b/sound/oss/emu10k1/main.c
@@ -1428,7 +1428,7 @@ static int __init emu10k1_init_module(void)
{
printk(KERN_INFO "Creative EMU10K1 PCI Audio Driver, version " DRIVER_VERSION ", " __TIME__ " " __DATE__ "\n");
- return pci_module_init(&emu10k1_pci_driver);
+ return pci_register_driver(&emu10k1_pci_driver);
}
static void __exit emu10k1_cleanup_module(void)