From: Christophe Lucas <[email protected]>
http://kerneljanitors.org/TODO
- convert from pci_module_init to pci_register_driver
Signed-off-by: Christophe Lucas <[email protected]>
Signed-off-by: Domen Puncer <[email protected]>
Signed-off-by: Johannes Stezenbach <[email protected]>
drivers/media/common/saa7146_core.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.12-git8/drivers/media/common/saa7146_core.c
===================================================================
--- linux-2.6.12-git8.orig/drivers/media/common/saa7146_core.c 2005-06-17 21:48:29.000000000 +0200
+++ linux-2.6.12-git8/drivers/media/common/saa7146_core.c 2005-06-27 13:24:05.000000000 +0200
@@ -512,7 +512,7 @@ int saa7146_register_extension(struct sa
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)
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]