Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] adv*: replace the deprecated v4l2_subdev_edid by v4l2_edid

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

authored by

Hans Verkuil and committed by
Mauro Carvalho Chehab
b09dfac8 dd519bb3

+6 -6
+1 -1
drivers/media/i2c/ad9389b.c
··· 573 573 574 574 /* ------------------------------ PAD OPS ------------------------------ */ 575 575 576 - static int ad9389b_get_edid(struct v4l2_subdev *sd, struct v4l2_subdev_edid *edid) 576 + static int ad9389b_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) 577 577 { 578 578 struct ad9389b_state *state = get_ad9389b_state(sd); 579 579
+1 -1
drivers/media/i2c/adv7511.c
··· 597 597 return 0; 598 598 } 599 599 600 - static int adv7511_get_edid(struct v4l2_subdev *sd, struct v4l2_subdev_edid *edid) 600 + static int adv7511_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) 601 601 { 602 602 struct adv7511_state *state = get_adv7511_state(sd); 603 603
+2 -2
drivers/media/i2c/adv7604.c
··· 1658 1658 return 0; 1659 1659 } 1660 1660 1661 - static int adv7604_get_edid(struct v4l2_subdev *sd, struct v4l2_subdev_edid *edid) 1661 + static int adv7604_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) 1662 1662 { 1663 1663 struct adv7604_state *state = to_state(sd); 1664 1664 u8 *data = NULL; ··· 1728 1728 return -1; 1729 1729 } 1730 1730 1731 - static int adv7604_set_edid(struct v4l2_subdev *sd, struct v4l2_subdev_edid *edid) 1731 + static int adv7604_set_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) 1732 1732 { 1733 1733 struct adv7604_state *state = to_state(sd); 1734 1734 int spa_loc;
+2 -2
drivers/media/i2c/adv7842.c
··· 2014 2014 return 0; 2015 2015 } 2016 2016 2017 - static int adv7842_get_edid(struct v4l2_subdev *sd, struct v4l2_subdev_edid *edid) 2017 + static int adv7842_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) 2018 2018 { 2019 2019 struct adv7842_state *state = to_state(sd); 2020 2020 u8 *data = NULL; ··· 2054 2054 return 0; 2055 2055 } 2056 2056 2057 - static int adv7842_set_edid(struct v4l2_subdev *sd, struct v4l2_subdev_edid *e) 2057 + static int adv7842_set_edid(struct v4l2_subdev *sd, struct v4l2_edid *e) 2058 2058 { 2059 2059 struct adv7842_state *state = to_state(sd); 2060 2060 int err = 0;