summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/b2c2/skystar2.c
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-03-13 23:44:59 +0000
committerJohannes Stezenbach <devnull@localhost>2005-03-13 23:44:59 +0000
commit47632559011c955ed469a495adf5cdcbd4ecfa1c (patch)
tree37b107b31bd66eec6fce5dcca8e9bf652e09e9de /linux/drivers/media/dvb/b2c2/skystar2.c
parent2d4f35691f91ebd671889430ba81b6c8f6d96f42 (diff)
downloadmediapointer-dvb-s2-47632559011c955ed469a495adf5cdcbd4ecfa1c.tar.gz
mediapointer-dvb-s2-47632559011c955ed469a495adf5cdcbd4ecfa1c.tar.bz2
From : http://kerneljanitors.org/TODO
- convert from pci_module_init to pci_register_driver Signed-off-by: Christophe Lucas <c.lucas at ifrance.com> Signed-off-by: Domen Puncer <domen@coderock.org>
Diffstat (limited to 'linux/drivers/media/dvb/b2c2/skystar2.c')
-rw-r--r--linux/drivers/media/dvb/b2c2/skystar2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/b2c2/skystar2.c b/linux/drivers/media/dvb/b2c2/skystar2.c
index e3eab1f73..24317dfd0 100644
--- a/linux/drivers/media/dvb/b2c2/skystar2.c
+++ b/linux/drivers/media/dvb/b2c2/skystar2.c
@@ -2630,7 +2630,7 @@ static struct pci_driver skystar2_pci_driver = {
static int skystar2_init(void)
{
- return pci_module_init(&skystar2_pci_driver);
+ return pci_register_driver(&skystar2_pci_driver);
}
static void skystar2_cleanup(void)