diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-12-06 23:33:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 20:13:22 (GMT) |
commit | 46654728b55bf5d09dc91fa45f532131d8a609f2 (patch) | |
tree | d1af8667990afe51813ba82d25f495832c7021d4 /sound/oss/es1370.c | |
parent | 9bfab8cec652c80b4864b4d9247520dca042c2df (diff) | |
download | linux-fsl-qoriq-46654728b55bf5d09dc91fa45f532131d8a609f2.tar.xz |
[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/es1370.c')
-rw-r--r-- | sound/oss/es1370.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/es1370.c b/sound/oss/es1370.c index 8538085..ae55c53 100644 --- a/sound/oss/es1370.c +++ b/sound/oss/es1370.c @@ -2779,7 +2779,7 @@ static struct pci_driver es1370_driver = { static int __init init_es1370(void) { printk(KERN_INFO "es1370: version v0.38 time " __TIME__ " " __DATE__ "\n"); - return pci_module_init(&es1370_driver); + return pci_register_driver(&es1370_driver); } static void __exit cleanup_es1370(void) |