[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070406101937.GD29169@stusta.de>
Date: Fri, 6 Apr 2007 12:19:37 +0200
From: Adrian Bunk <bunk@...sta.de>
To: Hans-Jürgen Koch <hjk@...utronix.de>,
Greg Kroah-Hartman <gregkh@...e.de>
Cc: tglx@...utronix.de, Benedikt Spranger <b.spranger@...utronix.de>,
linux-kernel@...r.kernel.org
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@...sta.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists