From 46654728b55bf5d09dc91fa45f532131d8a609f2 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 6 Dec 2005 15:33:15 -0800 Subject: [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 Signed-off-by: Richard Knutsson --- sound/oss/ad1889.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/oss/ad1889.c') diff --git a/sound/oss/ad1889.c b/sound/oss/ad1889.c index 2cfd214e4c2a..a0d73f343100 100644 --- a/sound/oss/ad1889.c +++ b/sound/oss/ad1889.c @@ -1089,7 +1089,7 @@ static struct pci_driver ad1889_driver = { static int __init ad1889_init_module(void) { - return pci_module_init(&ad1889_driver); + return pci_register_driver(&ad1889_driver); } static void ad1889_exit_module(void) -- cgit v1.2.1