[media] davinci: move struct vpif_interface to chan_cfg
struct vpif_interface is channel specific, not subdev specific. Move it to the channel config. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sekhar Nori <nsekhar@ti.com> Acked-by: Lad, Prabhakar <prabhakar.lad@ti.com> Tested-by: Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
882084ad0f
commit
0d4f35f3f0
@@ -37,7 +37,6 @@ struct vpif_interface {
|
||||
struct vpif_subdev_info {
|
||||
const char *name;
|
||||
struct i2c_board_info board_info;
|
||||
struct vpif_interface vpif_if;
|
||||
};
|
||||
|
||||
struct vpif_display_config {
|
||||
@@ -59,6 +58,7 @@ struct vpif_input {
|
||||
};
|
||||
|
||||
struct vpif_capture_chan_config {
|
||||
struct vpif_interface vpif_if;
|
||||
const struct vpif_input *inputs;
|
||||
int input_count;
|
||||
};
|
||||
|
Reference in New Issue
Block a user