On Sat, Jan 5, 2013 at 11:45 AM, Wolfgang Denk <w...@denx.de> 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 <w...@denx.de> > Cc: Alessandro Rubini <rub...@unipv.it> > Cc: Anatolij Gustschin <ag...@denx.de> > Cc: Bo Shen <voice.s...@atmel.com> > Cc: Haavard Skinnemoen <haavard.skinnem...@atmel.com> > Cc: Kyungmin Park <kyungmin.p...@samsung.com> > Cc: Marek Vasut <marek.va...@gmail.com> > Cc: Minkyu Kang <mk7.k...@samsung.com> > Cc: Nikita Kiryanov <nik...@compulab.co.il> > Cc: Simon Glass <s...@chromium.org> > Cc: Stelian Pop <stel...@popies.net> > Cc: Tom Warren <twar...@nvidia.com>
Acked-by: Simon Glass <s...@chromium.org> > --- > arch/arm/cpu/pxa/pxafb.c | 2 -- > arch/powerpc/cpu/mpc8xx/lcd.c | 3 --- > board/mcc200/lcd.c | 3 --- > common/lcd.c | 7 ++++--- > drivers/video/amba.c | 2 -- > drivers/video/atmel_hlcdfb.c | 2 -- > drivers/video/atmel_lcdfb.c | 2 -- > drivers/video/exynos_fb.c | 2 -- > drivers/video/tegra.c | 4 +--- > include/lcd.h | 6 +++--- > 10 files changed, 8 insertions(+), 25 deletions(-) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot