On 03/06/13 11:07, Barry Song wrote: > i want to move sirfsoc_of_pwrc_init and sirfsoc_of_pwrc_init to > sirfsoc_pm_init as only suspend entries need them. then the result is > like: > > int __init sirfsoc_pm_init(void) > { > + sirfsoc_of_pwrc_init(); > + sirfsoc_memc_init(); > suspend_set_ops(&sirfsoc_pm_ops); > return 0; > } > @@ -98,7 +103,7 @@ static const struct of_device_id pwrc_ids[] = { > {} > };
It looks good, and should fix the issue too. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/