diff options
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2014-09-08 15:52:08 +0200 |
---|---|---|
committer | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2014-12-11 13:57:59 +0100 |
commit | 41a14623bd7345017b62f167110cf95808a4891a (patch) | |
tree | f58661d4f62bb1f81632899cdd354218732b0344 /drivers/gpu/drm/sti/sti_hdmi.h | |
parent | f41c2581bc2b6b21f774596845952a7cb4c15c74 (diff) | |
download | linux-41a14623bd7345017b62f167110cf95808a4891a.tar.bz2 |
drm: sti: allow to change hdmi ddc i2c adapter
Depending of the board configuration i2c for ddc could change,
this patch allow to use a phandle to specify which i2c controller to use.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_hdmi.h')
-rw-r--r-- | drivers/gpu/drm/sti/sti_hdmi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sti/sti_hdmi.h b/drivers/gpu/drm/sti/sti_hdmi.h index 61bec6557ceb..d00a3e0d807f 100644 --- a/drivers/gpu/drm/sti/sti_hdmi.h +++ b/drivers/gpu/drm/sti/sti_hdmi.h @@ -62,6 +62,7 @@ struct sti_hdmi { wait_queue_head_t wait_event; bool event_received; struct reset_control *reset; + struct i2c_adapter *ddc_adapt; }; u32 hdmi_read(struct sti_hdmi *hdmi, int offset); |