drm/sun4i: Make sunxi_rgb2yuv_coef constant
authorChen-Yu Tsai <wens@csie.org>
Thu, 23 Feb 2017 08:05:33 +0000 (16:05 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 7 Mar 2017 21:15:15 +0000 (22:15 +0100)
commita6fbffb0301196df7735aa4aacd35610858e471f
tree35d061c84a09ee52812b2551b1674256ac530f4f
parentea411fd2c8d5704fc247be106026d436d27c900f
drm/sun4i: Make sunxi_rgb2yuv_coef constant

sunxi_rgb2yuv_coef is a table of RGB-to-YUV conversion coefficients.
They are programmed into the hardware, and can be declared constant.

Reported-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/gpu/drm/sun4i/sun4i_backend.c