diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-04-27 01:48:01 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-04-27 23:34:21 +0100 |
commit | 28b57cddb3ed4f7999e4b76ef36ebaaf6e2e0c37 (patch) | |
tree | 8cd4419d1a22b74129350481ed60a6bc183be3d5 /drivers/mtd | |
parent | 54d33c4c715b80cc022b8e4974a4de693c96fc99 (diff) | |
download | op-kernel-dev-28b57cddb3ed4f7999e4b76ef36ebaaf6e2e0c37.zip op-kernel-dev-28b57cddb3ed4f7999e4b76ef36ebaaf6e2e0c37.tar.gz |
[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')
-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 3d4a4d8..688ef49 100644 --- 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 } |