diff options
author | Michael Krufky <devnull@localhost> | 2005-12-04 21:06:50 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-12-04 21:06:50 +0000 |
commit | 0cf8a64d4c48d7c2651c6aa98d7cb38cc07470ef (patch) | |
tree | 52e8458815aa83c9e7a2c115c1eccb5cf2de1d5b /linux/drivers/media/video/cx88/cx88-alsa.c | |
parent | c60a1027a4993100937c49b90162703cc3ad2ee9 (diff) | |
download | mediapointer-dvb-s2-0cf8a64d4c48d7c2651c6aa98d7cb38cc07470ef.tar.gz mediapointer-dvb-s2-0cf8a64d4c48d7c2651c6aa98d7cb38cc07470ef.tar.bz2 |
kernel-sync
[PATCH 9/11] MEDIA: replace all uses of pci_module_init with pci_register_driver
From: Otavio Salvador <otavio@debian.org>
This patch replace all calls to pci_module_init, that's deprecated and
will be removed in future, with pci_register_driver that should be
the used function now.
Signed-off-by: Otavio Salvador <otavio@debian.org>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-alsa.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-alsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-alsa.c b/linux/drivers/media/video/cx88/cx88-alsa.c index 7c5cba501..3893f36c6 100644 --- a/linux/drivers/media/video/cx88/cx88-alsa.c +++ b/linux/drivers/media/video/cx88/cx88-alsa.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-alsa.c,v 1.10 2005/10/25 19:24:47 nsh Exp $ + * $Id: cx88-alsa.c,v 1.11 2005/12/04 21:06:50 mkrufky Exp $ * * Support for audio capture * PCI function #1 of the cx2388x. @@ -919,7 +919,7 @@ static int cx88_audio_init(void) printk(KERN_INFO "cx2388x: snapshot date %04d-%02d-%02d\n", SNAPSHOT/10000, (SNAPSHOT/100)%100, SNAPSHOT%100); #endif - return pci_module_init(&cx88_audio_pci_driver); + return pci_register_driver(&cx88_audio_pci_driver); } /* |