projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54d33c4
)
[MTD] [MAPS] drivers/mtd/maps/ck804xrom.c: convert pci_module_init()
author
Adrian Bunk
<bunk@stusta.de>
Thu, 26 Apr 2007 23:48:01 +0000
(
01:48
+0200)
committer
David Woodhouse
<dwmw2@infradead.org>
Fri, 27 Apr 2007 22:34:21 +0000
(23:34 +0100)
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>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/maps/ck804xrom.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/maps/ck804xrom.c
b/drivers/mtd/maps/ck804xrom.c
index 3d4a4d8ac789758b677b796cb83048ba59a93d47..688ef495888a6ba1efeef5ccff6f9a9646c4a102 100644
(file)
--- a/
drivers/mtd/maps/ck804xrom.c
+++ b/
drivers/mtd/maps/ck804xrom.c
@@
-338,7
+338,7
@@
static int __init init_ck804xrom(void)
}
return -ENXIO;
#if 0
- return pci_
module_init
(&ck804xrom_driver);
+ return pci_
register_driver
(&ck804xrom_driver);
#endif
}