summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-07-12 10:32:05 +0200
committerStefan Agner <stefan.agner@toradex.com>2016-07-14 11:19:54 -0700
commitfd913a90fa6832eecd00898b7f83088c789e8cd1 (patch)
tree556f96c3cb3c24b285a39376c47330b9722c2045
parente4708900d1ece2031e5f65785c11e2f7b1dae97d (diff)
ipu_disp.c: silence compiler warnings
drivers/mxc/ipu3/ipu_disp.c:435:89: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] {{DP_COM_CONF_CSC_DEF_BOTH, &rgb2ycbcr_coeff}, {0, 0}, {0, 0}, {DP_COM_CONF_CSC_DEF_BG, &rgb2ycbcr_coeff}, {DP_COM_CONF_CSC_DEF_BG, &rgb2ycbcr_coeff} }, Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r--drivers/mxc/ipu3/ipu_disp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mxc/ipu3/ipu_disp.c b/drivers/mxc/ipu3/ipu_disp.c
index f7044c2..28aaba1 100644
--- a/drivers/mxc/ipu3/ipu_disp.c
+++ b/drivers/mxc/ipu3/ipu_disp.c
@@ -37,7 +37,7 @@
struct dp_csc_param_t {
int mode;
- void *coeff;
+ const void *coeff;
};
#define SYNC_WAVE 0