Re: [PATCH] drm: bridge: adv7511: Move CEC definitions to adv7511_cec.c

2022-05-26 Thread Robert Foss
On Thu, 26 May 2022 at 01:50, Alvin Šipraga wrote: > > On Wed, May 25, 2022 at 06:53:16PM -0300, Fabio Estevam wrote: > > 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 bui

Re: [PATCH] drm: bridge: adv7511: Move CEC definitions to adv7511_cec.c

2022-05-25 Thread Alvin Šipraga
On Wed, May 25, 2022 at 06:53:16PM -0300, Fabio Estevam wrote: > 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:

[PATCH] drm: bridge: adv7511: Move CEC definitions to adv7511_cec.c

2022-05-25 Thread Fabio Estevam
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_