summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-03-13 23:50:54 +0000
committerJohannes Stezenbach <devnull@localhost>2005-03-13 23:50:54 +0000
commite1d82fd29f6490d656020ed16634e33fc4aca471 (patch)
tree5cb92090a09093d1bab8447c5781dd033a850c67 /linux
parent47632559011c955ed469a495adf5cdcbd4ecfa1c (diff)
downloadmediapointer-dvb-s2-e1d82fd29f6490d656020ed16634e33fc4aca471.tar.gz
mediapointer-dvb-s2-e1d82fd29f6490d656020ed16634e33fc4aca471.tar.bz2
From : http://kerneljanitors.org/TODO
- convert from pci_module_init to pci_register_driver Signed-off-by: Christophe Lucas <c.lucas@ifrance.com> Signed-off-by: Domen Puncer <domen@coderock.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/bt8xx/bt878.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/bt878.c b/linux/drivers/media/dvb/bt8xx/bt878.c
index d5a46ec71..b204a7889 100644
--- a/linux/drivers/media/dvb/bt8xx/bt878.c
+++ b/linux/drivers/media/dvb/bt8xx/bt878.c
@@ -563,7 +563,7 @@ static int bt878_init_module(void)
/* later we register inside of bt878_find_audio_dma()
* because we may want to ignore certain cards */
bt878_pci_driver_registered = 1;
- return pci_module_init(&bt878_pci_driver);
+ return pci_register_driver(&bt878_pci_driver);
}
static void bt878_cleanup_module(void)