diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-12-06 15:33:15 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 12:13:22 -0800 |
commit | 46654728b55bf5d09dc91fa45f532131d8a609f2 (patch) | |
tree | d1af8667990afe51813ba82d25f495832c7021d4 /sound/oss/kahlua.c | |
parent | 9bfab8cec652c80b4864b4d9247520dca042c2df (diff) | |
download | linux-46654728b55bf5d09dc91fa45f532131d8a609f2.tar.bz2 |
[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/kahlua.c')
-rw-r--r-- | sound/oss/kahlua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/kahlua.c b/sound/oss/kahlua.c index 808c5ef969be..2835a7c038ef 100644 --- a/sound/oss/kahlua.c +++ b/sound/oss/kahlua.c @@ -218,7 +218,7 @@ static struct pci_driver kahlua_driver = { static int __init kahlua_init_module(void) { printk(KERN_INFO "Cyrix Kahlua VSA1 XpressAudio support (c) Copyright 2003 Red Hat Inc\n"); - return pci_module_init(&kahlua_driver); + return pci_register_driver(&kahlua_driver); } static void __devexit kahlua_cleanup_module(void) |