]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: ipu_disp: squash clang warning
authorJeroen Hofstee <jeroen@myspectrum.nl>
Tue, 17 Jun 2014 17:20:27 +0000 (19:20 +0200)
committerAnatolij Gustschin <agust@denx.de>
Mon, 11 Aug 2014 15:52:21 +0000 (17:52 +0200)
commite6e9cff2dc0e9c526951119c13fd093d2f8101ce
treec1fcfe25522299fa5fe97e505ff4e2699ff4b826
parente66866c542e492c42f04cfc2e59317203b7cd6ea
video: ipu_disp: squash clang warning

Since rgb2ycbcr_coeff and friends are declared const, but assigned
to a void pointer, clang will warn that the const is implicity casted
away. If the pointer is changed to void const * gcc will warn when it
is implicitly casted to a const int array. Just add a correctly
typed pointer instead to prevent these casts and hence the warnings.

Cc: Troy Kisky <troy.kisky@boundarydevices.com>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
drivers/video/ipu_disp.c