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/ymfpci.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/ymfpci.c')
-rw-r--r-- | sound/oss/ymfpci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/ymfpci.c b/sound/oss/ymfpci.c index 8dae59bd05a2..f8bd72e46f57 100644 --- a/sound/oss/ymfpci.c +++ b/sound/oss/ymfpci.c | |||
@@ -2680,7 +2680,7 @@ static struct pci_driver ymfpci_driver = { | |||
2680 | 2680 | ||
2681 | static int __init ymf_init_module(void) | 2681 | static int __init ymf_init_module(void) |
2682 | { | 2682 | { |
2683 | return pci_module_init(&ymfpci_driver); | 2683 | return pci_register_driver(&ymfpci_driver); |
2684 | } | 2684 | } |
2685 | 2685 | ||
2686 | static void __exit ymf_cleanup_module (void) | 2686 | static void __exit ymf_cleanup_module (void) |