lkml.org 
[lkml]   [2005]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] drivers/w1/*: convert to pci_register_driver
Date
From
ChangeSet 1.2086, 2005/03/02 16:59:57-08:00, c.lucas@ifrance.com

[PATCH] drivers/w1/*: convert to pci_register_driver
convert from pci_module_init to pci_register_driver
(from:http://kerneljanitors.org/TODO).

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>


drivers/w1/matrox_w1.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Nru a/drivers/w1/matrox_w1.c b/drivers/w1/matrox_w1.c
--- a/drivers/w1/matrox_w1.c 2005-03-04 12:37:44 -08:00
+++ b/drivers/w1/matrox_w1.c 2005-03-04 12:37:44 -08:00
@@ -235,7 +235,7 @@

static int __init matrox_w1_init(void)
{
- return pci_module_init(&matrox_w1_pci_driver);
+ return pci_register_driver(&matrox_w1_pci_driver);
}

static void __exit matrox_w1_fini(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: 2005-03-22 14:10    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site