diff --git a/drivers/video/rockchip/hdmi/rockchip-hdmi-sysfs.c b/drivers/video/rockchip/hdmi/rockchip-hdmi-sysfs.c index 94812c17c51a..5b4831332f39 100644 --- a/drivers/video/rockchip/hdmi/rockchip-hdmi-sysfs.c +++ b/drivers/video/rockchip/hdmi/rockchip-hdmi-sysfs.c @@ -196,7 +196,7 @@ static int hdmi_get_color(struct rk_display_device *device, char *buf) i = snprintf(buf, PAGE_SIZE, "Supported Color Mode: %d\n", mode); i += snprintf(buf + i, PAGE_SIZE - i, - "Current Color Mode: %d\n", hdmi->colormode); + "Current Color Mode: %d\n", hdmi->video.color_output); mode = (1 << 1); /* 24 bit*/ if (hdmi->edid.deepcolor & HDMI_DEEP_COLOR_30BITS && @@ -211,7 +211,8 @@ static int hdmi_get_color(struct rk_display_device *device, char *buf) i += snprintf(buf + i, PAGE_SIZE - i, "Supported Color Depth: %d\n", mode); i += snprintf(buf + i, PAGE_SIZE - i, - "Current Color Depth: %d\n", hdmi->colordepth); + "Current Color Depth: %d\n", + hdmi->video.color_output_depth); i += snprintf(buf + i, PAGE_SIZE - i, "Supported Colorimetry: %d\n", hdmi->edid.colorimetry); i += snprintf(buf + i, PAGE_SIZE - i,