--- zzzz-none-000/linux-2.6.28.10/drivers/mtd/cmdlinepart.c 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/drivers/mtd/cmdlinepart.c 2009-11-05 12:32:20.000000000 +0000 @@ -300,7 +300,7 @@ * information. It returns partitions for the requested mtd device, or * the first one in the chain if a NULL mtd_id is passed in. */ -static int parse_cmdline_partitions(struct mtd_info *master, +int parse_cmdline_partitions(struct mtd_info *master, struct mtd_partition **pparts, unsigned long origin) { @@ -369,7 +369,7 @@ return register_mtd_parser(&cmdline_parser); } -module_init(cmdline_parser_init); +arch_initcall(cmdline_parser_init); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Marius Groeger ");