diff options
author | Thierry Reding <treding@nvidia.com> | 2018-12-10 19:34:54 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-01-16 15:09:32 +0300 |
commit | f25d0a68beb868147571e395de52ced0c55f6cd4 (patch) | |
tree | d1f60e7ff96a89fc3f73fda27172a761ae76ac7b /drivers/gpu/drm/tegra/drm.h | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) | |
download | linux-f25d0a68beb868147571e395de52ced0c55f6cd4.tar.xz |
drm/tegra: Refactor CEC support
Most of the CEC support code already lives in the "output" library code.
Move registration and unregistration to the library code as well to make
use of the same code with HDMI on Tegra210 and later via the SOR.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.h')
-rw-r--r-- | drivers/gpu/drm/tegra/drm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/drm.h b/drivers/gpu/drm/tegra/drm.h index 1012335bb489..f1763b4d5b5f 100644 --- a/drivers/gpu/drm/tegra/drm.h +++ b/drivers/gpu/drm/tegra/drm.h @@ -124,7 +124,7 @@ struct tegra_output { struct drm_panel *panel; struct i2c_adapter *ddc; const struct edid *edid; - struct cec_notifier *notifier; + struct cec_notifier *cec; unsigned int hpd_irq; int hpd_gpio; enum of_gpio_flags hpd_gpio_flags; |