diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-04-26 19:48:01 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-04-27 18:34:21 -0400 |
commit | 28b57cddb3ed4f7999e4b76ef36ebaaf6e2e0c37 (patch) | |
tree | 8cd4419d1a22b74129350481ed60a6bc183be3d5 /drivers/mtd/maps | |
parent | 54d33c4c715b80cc022b8e4974a4de693c96fc99 (diff) |
[MTD] [MAPS] drivers/mtd/maps/ck804xrom.c: convert pci_module_init()
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>
Diffstat (limited to 'drivers/mtd/maps')
-rw-r--r-- | drivers/mtd/maps/ck804xrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/ck804xrom.c b/drivers/mtd/maps/ck804xrom.c index 3d4a4d8ac789..688ef495888a 100644 --- a/drivers/mtd/maps/ck804xrom.c +++ b/drivers/mtd/maps/ck804xrom.c | |||
@@ -338,7 +338,7 @@ static int __init init_ck804xrom(void) | |||
338 | } | 338 | } |
339 | return -ENXIO; | 339 | return -ENXIO; |
340 | #if 0 | 340 | #if 0 |
341 | return pci_module_init(&ck804xrom_driver); | 341 | return pci_register_driver(&ck804xrom_driver); |
342 | #endif | 342 | #endif |
343 | } | 343 | } |
344 | 344 | ||