Am Dienstag 29 Mai 2012, 14:42:08 schrieb Prafulla Wadaskar: > And const will be a problem since mpp_ctrl will be array that will be > dynamically modified. But not within kirkwood_mpp_restore(), right? So an mpp_ctrl array would be implicitly casted from u32* to const u32*.
so we would have the following declarations: kirkwood_mpp_restore(const u32 *mpp_list) kirkwood_mpp_conf(const u32 *mpp_list) kirkwood_mpp_save(u32 *mpp_list) where only the latter modifies mpp_list. -- michael _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot