lkml.org 
[lkml]   [2007]   [Apr]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateFri, 6 Apr 2007 12:19:37 +0200
FromAdrian Bunk <>
Subject[-mm patch] drivers/uio/uio_cif.c: convert pci_module_init()
This patch converts the pci_module_init() usage to pci_register_driver().

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.21-rc5-mm4/drivers/uio/uio_cif.c.old	2007-04-05 20:44:24.000000000 +0200
+++ linux-2.6.21-rc5-mm4/drivers/uio/uio_cif.c	2007-04-05 20:44:38.000000000 +0200
@@ -144,7 +144,7 @@
 
 static int __init hilscher_init_module(void)
 {
-	return pci_module_init(&hilscher_pci_driver);
+	return pci_register_driver(&hilscher_pci_driver);
 }
 
 static void __exit hilscher_exit_module(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/

\
 
 \ /
  Last update: 2007-04-06 10:23    [from the cache]
©2003-2008