]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: davinci: fix const warnings
authorKevin Hilman <khilman@baylibre.com>
Fri, 9 Jun 2017 17:21:10 +0000 (10:21 -0700)
committerSekhar Nori <nsekhar@ti.com>
Thu, 15 Jun 2017 13:48:24 +0000 (19:18 +0530)
After VPIF was converted to enable getting subdevs from DT, the
pdata is no longer const, so remove these to avoid compiler warnings.

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
[nsekhar@ti.com: minor commit message fixup]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-dm646x-evm.c
arch/arm/mach-davinci/pdata-quirks.c

index cb176826d1cbe4e0c77b2c955348d6a0adeebd53..055e947a6a392ad623182b2dc7453438b51dc72f 100644 (file)
@@ -641,7 +641,7 @@ static struct vpif_subdev_info vpif_capture_sdev_info[] = {
        },
 };
 
-static const struct vpif_input dm6467_ch0_inputs[] = {
+static struct vpif_input dm6467_ch0_inputs[] = {
        {
                .input = {
                        .index = 0,
@@ -656,7 +656,7 @@ static const struct vpif_input dm6467_ch0_inputs[] = {
        },
 };
 
-static const struct vpif_input dm6467_ch1_inputs[] = {
+static struct vpif_input dm6467_ch1_inputs[] = {
        {
                .input = {
                        .index = 0,
index 329f5402ad1d2ef5f7a1ae807e7c85d8ccad905a..4858b1cdf31b42f32a72900b74bed46a9d734a96 100644 (file)
@@ -33,7 +33,7 @@ static struct tvp514x_platform_data tvp5146_pdata = {
 
 #define TVP514X_STD_ALL (V4L2_STD_NTSC | V4L2_STD_PAL)
 
-static const struct vpif_input da850_ch0_inputs[] = {
+static struct vpif_input da850_ch0_inputs[] = {
        {
                .input = {
                        .index = 0,
@@ -48,7 +48,7 @@ static const struct vpif_input da850_ch0_inputs[] = {
        },
 };
 
-static const struct vpif_input da850_ch1_inputs[] = {
+static struct vpif_input da850_ch1_inputs[] = {
        {
                .input = {
                        .index = 0,