LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] drivers/mtd/maps/ck804xrom.c: convert pci_module_init()
@ 2007-04-26 23:48 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-04-26 23:48 UTC (permalink / raw)
To: Andrew Morton; +Cc: Ryan Jackson, David Woodhouse, linux-mtd, linux-kernel
This patch converts the pci_module_init() usage to pci_register_driver().
It's currently #if 0'ed, but still not a bad idea to change it.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch has been sent on:
- 6 Apr 2007
--- linux-2.6.21-rc5-mm4/drivers/mtd/maps/ck804xrom.c.old 2007-04-05 20:39:54.000000000 +0200
+++ linux-2.6.21-rc5-mm4/drivers/mtd/maps/ck804xrom.c 2007-04-05 20:40:15.000000000 +0200
@@ -338,7 +338,7 @@
}
return -ENXIO;
#if 0
- return pci_module_init(&ck804xrom_driver);
+ return pci_register_driver(&ck804xrom_driver);
#endif
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [2.6 patch] drivers/mtd/maps/ck804xrom.c: convert pci_module_init()
@ 2007-04-06 10:19 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-04-06 10:19 UTC (permalink / raw)
To: Ryan Jackson, David Woodhouse; +Cc: linux-mtd, linux-kernel
This patch converts the pci_module_init() usage to pci_register_driver().
It's currently #if 0'ed, but still not a bad idea to change it.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
--- linux-2.6.21-rc5-mm4/drivers/mtd/maps/ck804xrom.c.old 2007-04-05 20:39:54.000000000 +0200
+++ linux-2.6.21-rc5-mm4/drivers/mtd/maps/ck804xrom.c 2007-04-05 20:40:15.000000000 +0200
@@ -338,7 +338,7 @@
}
return -ENXIO;
#if 0
- return pci_module_init(&ck804xrom_driver);
+ return pci_register_driver(&ck804xrom_driver);
#endif
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-26 23:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-26 23:48 [2.6 patch] drivers/mtd/maps/ck804xrom.c: convert pci_module_init() Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2007-04-06 10:19 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).