[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>
This commit is contained in:
Adrian Bunk 2007-04-27 01:48:01 +02:00 committed by David Woodhouse
parent 54d33c4c71
commit 28b57cddb3

View File

@ -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
}