diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-03-04 06:05:19 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-11 09:13:15 -0400 |
commit | b09dfac83201812bf359e32a17afc7f6763ae379 (patch) | |
tree | fe744792d7e45cb33e2349b8048c5a4d117cbb05 | |
parent | dd519bb34a09d86db720f8a65e7dee1a85b2e90f (diff) |
[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>
-rw-r--r-- | drivers/media/i2c/ad9389b.c | 2 | ||||
-rw-r--r-- | drivers/media/i2c/adv7511.c | 2 | ||||
-rw-r--r-- | drivers/media/i2c/adv7604.c | 4 | ||||
-rw-r--r-- | drivers/media/i2c/adv7842.c | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/i2c/ad9389b.c b/drivers/media/i2c/ad9389b.c index 83225d6a0dd9..1b7ecfd88673 100644 --- a/drivers/media/i2c/ad9389b.c +++ b/drivers/media/i2c/ad9389b.c | |||
@@ -573,7 +573,7 @@ static const struct v4l2_subdev_core_ops ad9389b_core_ops = { | |||
573 | 573 | ||
574 | /* ------------------------------ PAD OPS ------------------------------ */ | 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 | struct ad9389b_state *state = get_ad9389b_state(sd); | 578 | struct ad9389b_state *state = get_ad9389b_state(sd); |
579 | 579 | ||
diff --git a/drivers/media/i2c/adv7511.c b/drivers/media/i2c/adv7511.c index ee618942cb8e..942ca4b99297 100644 --- a/drivers/media/i2c/adv7511.c +++ b/drivers/media/i2c/adv7511.c | |||
@@ -597,7 +597,7 @@ static int adv7511_isr(struct v4l2_subdev *sd, u32 status, bool *handled) | |||
597 | return 0; | 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 | struct adv7511_state *state = get_adv7511_state(sd); | 602 | struct adv7511_state *state = get_adv7511_state(sd); |
603 | 603 | ||
diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 71c8570bd9ea..98cc5407f1b1 100644 --- a/drivers/media/i2c/adv7604.c +++ b/drivers/media/i2c/adv7604.c | |||
@@ -1658,7 +1658,7 @@ static int adv7604_isr(struct v4l2_subdev *sd, u32 status, bool *handled) | |||
1658 | return 0; | 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 | struct adv7604_state *state = to_state(sd); | 1663 | struct adv7604_state *state = to_state(sd); |
1664 | u8 *data = NULL; | 1664 | u8 *data = NULL; |
@@ -1728,7 +1728,7 @@ static int get_edid_spa_location(const u8 *edid) | |||
1728 | return -1; | 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 | struct adv7604_state *state = to_state(sd); | 1733 | struct adv7604_state *state = to_state(sd); |
1734 | int spa_loc; | 1734 | int spa_loc; |
diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 88ce9dcb4971..636ac08925f6 100644 --- a/drivers/media/i2c/adv7842.c +++ b/drivers/media/i2c/adv7842.c | |||
@@ -2014,7 +2014,7 @@ static int adv7842_isr(struct v4l2_subdev *sd, u32 status, bool *handled) | |||
2014 | return 0; | 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 | struct adv7842_state *state = to_state(sd); | 2019 | struct adv7842_state *state = to_state(sd); |
2020 | u8 *data = NULL; | 2020 | u8 *data = NULL; |
@@ -2054,7 +2054,7 @@ static int adv7842_get_edid(struct v4l2_subdev *sd, struct v4l2_subdev_edid *edi | |||
2054 | return 0; | 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 | struct adv7842_state *state = to_state(sd); | 2059 | struct adv7842_state *state = to_state(sd); |
2060 | int err = 0; | 2060 | int err = 0; |