[U-Boot] [PATCH] common/lcd.c: cleanup use of global variables

Jeroen Hofstee jeroen at myspectrum.nl
Fri Jan 25 22:26:13 CET 2013


On 01/05/2013 08:45 PM, Wolfgang Denk wrote:
> lcd_color_fg and lcd_color_bg had to be declared in board specific
> code, but were not actually used there; in addition, we have getter /
> setter functions for these, which were not used either.
>
> Get rid of the global variables, and use the getter function where
> needed (so far no setter calls are needed).
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Alessandro Rubini <rubini at unipv.it>
> Cc: Anatolij Gustschin <agust at denx.de>
> Cc: Bo Shen <voice.shen at atmel.com>
> Cc: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
> Cc: Kyungmin Park <kyungmin.park at samsung.com>
> Cc: Marek Vasut <marek.vasut at gmail.com>
> Cc: Minkyu Kang <mk7.kang at samsung.com>
> Cc: Nikita Kiryanov <nikita at compulab.co.il>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Stelian Pop <stelian at popies.net>
> Cc: Tom Warren <twarren at nvidia.com>
> ---
>
Acked-by: Jeroen Hofstee <jeroen at myspectrum.nl>




More information about the U-Boot mailing list