On Wed, 2015-01-28 at 15:42 +0100, Hans de Goede wrote:
> > Although I might have been tempted to adjust mode->sync in the caller or
> > the place which populates it in the first place, just due to a general
> > dislike of boolean params to functions (which are opaque at the caller)
> > and to keep mode in sync with reality (if that matters).
> 
> I had the same idea, but mode can point to the global fixed mode list, so
> it is: "const struct ctfb_res_modes *mode" and we cannot change what a const
> pointer points too.

Ah, then no, that won't work will it ;-).

Ian.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to