Skip to content

Commit

Permalink
[MTD] [MAPS] drivers/mtd/maps/ck804xrom.c: convert pci_module_init()
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
  • Loading branch information
AdrianBunk authored and dwmw2 committed Apr 27, 2007
1 parent 54d33c4 commit 28b57cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/maps/ck804xrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 28b57cd

Please sign in to comment.