Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: bridge/dw_hdmi: fix register I2CM_ADDRESS register name

I2CM_ADDRESS became a MESS, fix it, also change guarding define
to __DW_HDMI_H__ , since the driver is not IMX specific.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Vladimir Zapolskiy and committed by
Russell King
6dc2e1bf b872a8e1

+4 -4
+4 -4
drivers/gpu/drm/bridge/dw_hdmi.h
··· 7 7 * (at your option) any later version. 8 8 */ 9 9 10 - #ifndef __IMX_HDMI_H__ 11 - #define __IMX_HDMI_H__ 10 + #ifndef __DW_HDMI_H__ 11 + #define __DW_HDMI_H__ 12 12 13 13 /* Identification Registers */ 14 14 #define HDMI_DESIGN_ID 0x0000 ··· 525 525 526 526 /* I2C Master Registers (E-DDC) */ 527 527 #define HDMI_I2CM_SLAVE 0x7E00 528 - #define HDMI_I2CMESS 0x7E01 528 + #define HDMI_I2CM_ADDRESS 0x7E01 529 529 #define HDMI_I2CM_DATAO 0x7E02 530 530 #define HDMI_I2CM_DATAI 0x7E03 531 531 #define HDMI_I2CM_OPERATION 0x7E04 ··· 1031 1031 HDMI_A_VIDPOLCFG_HSYNCPOL_ACTIVE_LOW = 0x0, 1032 1032 }; 1033 1033 1034 - #endif /* __IMX_HDMI_H__ */ 1034 + #endif /* __DW_HDMI_H__ */