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/nm256_audio.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/nm256_audio.c')
-rw-r--r-- | sound/oss/nm256_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/nm256_audio.c b/sound/oss/nm256_audio.c index 42d8f05689c2..7de079b202f2 100644 --- a/sound/oss/nm256_audio.c +++ b/sound/oss/nm256_audio.c | |||
@@ -1644,7 +1644,7 @@ module_param(force_load, bool, 0); | |||
1644 | static int __init do_init_nm256(void) | 1644 | static int __init do_init_nm256(void) |
1645 | { | 1645 | { |
1646 | printk (KERN_INFO "NeoMagic 256AV/256ZX audio driver, version 1.1p\n"); | 1646 | printk (KERN_INFO "NeoMagic 256AV/256ZX audio driver, version 1.1p\n"); |
1647 | return pci_module_init(&nm256_pci_driver); | 1647 | return pci_register_driver(&nm256_pci_driver); |
1648 | } | 1648 | } |
1649 | 1649 | ||
1650 | static void __exit cleanup_nm256 (void) | 1650 | static void __exit cleanup_nm256 (void) |