summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146_core.c
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-06-22 22:52:53 +0000
committerJohannes Stezenbach <devnull@localhost>2005-06-22 22:52:53 +0000
commit826fce6e169d6683045a77f40838164cd85683ff (patch)
treeae63c0586716d0a242b8df767e4446139d3b27c6 /linux/drivers/media/common/saa7146_core.c
parentf8adf6dae4e909f71c839e695dbb7cd0d4a8df54 (diff)
downloadmediapointer-dvb-s2-826fce6e169d6683045a77f40838164cd85683ff.tar.gz
mediapointer-dvb-s2-826fce6e169d6683045a77f40838164cd85683ff.tar.bz2
From: Christophe Lucas <c.lucas@ifrance.com>
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/drivers/media/common/saa7146_core.c')
-rw-r--r--linux/drivers/media/common/saa7146_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/common/saa7146_core.c b/linux/drivers/media/common/saa7146_core.c
index 50e8b8654..77ff22911 100644
--- a/linux/drivers/media/common/saa7146_core.c
+++ b/linux/drivers/media/common/saa7146_core.c
@@ -512,7 +512,7 @@ int saa7146_register_extension(struct saa7146_extension* ext)
ext->driver.remove = saa7146_remove_one;
printk("saa7146: register extension '%s'.\n",ext->name);
- return pci_module_init(&ext->driver);
+ return pci_register_driver(&ext->driver);
}
int saa7146_unregister_extension(struct saa7146_extension* ext)