diff options
author | Fabio Estevam <festevam@gmail.com> | 2022-05-25 18:53:16 -0300 |
---|---|---|
committer | Robert Foss <robert.foss@linaro.org> | 2022-05-26 13:52:22 +0200 |
commit | 91776af1d8deb8f36cbec6bf2bf24b661b2b5cbb (patch) | |
tree | 062a0286ffeea851230ad61d6744d9da95d0af32 /drivers/gpu/drm/drm_writeback.c | |
parent | e31372492904415e425430402453a192e2c6519f (diff) |
drm: bridge: adv7511: Move CEC definitions to adv7511_cec.c
ADV7511_REG_CEC_RX_FRAME_HDR[] and ADV7511_REG_CEC_RX_FRAME_LEN[]
are only used inside adv7511_cec.c.
Move their definitions to this file to avoid the following build
warnings when CONFIG_DRM_I2C_ADV7511_CEC is not selected:
drivers/gpu/drm/bridge/adv7511/adv7511.h:229:17: warning: 'ADV7511_REG_CEC_RX_FRAME_HDR' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/bridge/adv7511/adv7511.h:235:17: warning: 'ADV7511_REG_CEC_RX_FRAME_LEN' defined but not used [-Wunused-const-variable=]
Reported-by: kernel test robot <lkp@intel.com>
Fixes: ab0af093bf90 ("drm: bridge: adv7511: use non-legacy mode for CEC RX")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220525215316.1133057-1-festevam@gmail.com
Diffstat (limited to 'drivers/gpu/drm/drm_writeback.c')
0 files changed, 0 insertions, 0 deletions