Skip to content

Commit

Permalink
ARM: davinci: fix const warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kevin Hilman authored and Sekhar Nori committed Jun 15, 2017
1 parent 14ff86b commit 231ce27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-davinci/board-dm646x-evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-davinci/pdata-quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 231ce27

Please sign in to comment.