From: Adrian Bunk Date: Thu, 26 Apr 2007 23:48:01 +0000 (+0200) Subject: [MTD] [MAPS] drivers/mtd/maps/ck804xrom.c: convert pci_module_init() X-Git-Tag: v2.6.22-rc1~1116^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=28b57cddb3ed4f7999e4b76ef36ebaaf6e2e0c37;p=karo-tx-linux.git [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 Signed-off-by: David Woodhouse --- 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) } return -ENXIO; #if 0 - return pci_module_init(&ck804xrom_driver); + return pci_register_driver(&ck804xrom_driver); #endif }