ARM: davinci: fix const warnings
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>
This commit is contained in:
parent
14ff86bc76
commit
231ce279e6
@ -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 = {
|
.input = {
|
||||||
.index = 0,
|
.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 = {
|
.input = {
|
||||||
.index = 0,
|
.index = 0,
|
||||||
|
@ -33,7 +33,7 @@ static struct tvp514x_platform_data tvp5146_pdata = {
|
|||||||
|
|
||||||
#define TVP514X_STD_ALL (V4L2_STD_NTSC | V4L2_STD_PAL)
|
#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 = {
|
.input = {
|
||||||
.index = 0,
|
.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 = {
|
.input = {
|
||||||
.index = 0,
|
.index = 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user