| Date | Thu, 17 Aug 2006 13:26:46 +0000 | From | Michal Piotrowski <> | Subject | [RFC][PATCH 3/75] net: drivers/net/8139cp.c pci_module_init to pci_register_driver conversion |
| |
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/8139cp.c linux-work2/drivers/net/8139cp.c --- linux-work-clean/drivers/net/8139cp.c 2006-08-16 22:41:16.000000000 +0200 +++ linux-work2/drivers/net/8139cp.c 2006-08-17 05:13:25.000000000 +0200 @@ -2098,7 +2098,7 @@ static int __init cp_init (void) #ifdef MODULE printk("%s", version); #endif - return pci_module_init (&cp_driver); + return pci_register_driver(&cp_driver); } static void __exit cp_exit (void) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|