projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df4ad94
)
sunxi: display: Mark sunxi_rgb2yuv_coef array as const
author
Priit Laes
<
[email protected]
>
Tue, 23 Oct 2018 17:20:31 +0000
(20:20 +0300)
committer
Jagan Teki
<
[email protected]
>
Wed, 24 Oct 2018 16:32:15 +0000
(22:02 +0530)
sunxi_rgb2yuv_coef is readonly and never modified.
Signed-off-by: Priit Laes <
[email protected]
>
Acked-by: Anatolij Gustschin <
[email protected]
>
Acked-by: Maxime Ripard <
[email protected]
>
Reviewed-by: Jagan Teki <
[email protected]
>
drivers/video/sunxi/sunxi_display.c
patch
|
blob
|
history
diff --git
a/drivers/video/sunxi/sunxi_display.c
b/drivers/video/sunxi/sunxi_display.c
index 5c8f88c42fe82066b859e7fe4907f3503572ab4f..6dd9bec351fb4525b357db4d75a2c1ed49db7ed5 100644
(file)
--- a/
drivers/video/sunxi/sunxi_display.c
+++ b/
drivers/video/sunxi/sunxi_display.c
@@
-460,7
+460,7
@@
static void sunxi_composer_init(void)
setbits_le32(&de_be->mode, SUNXI_DE_BE_MODE_ENABLE);
}
-static u32 sunxi_rgb2yuv_coef[12] = {
+static
const
u32 sunxi_rgb2yuv_coef[12] = {
0x00000107, 0x00000204, 0x00000064, 0x00000108,
0x00003f69, 0x00003ed6, 0x000001c1, 0x00000808,
0x000001c1, 0x00003e88, 0x00003fb8, 0x00000808