From: hjc Date: Wed, 16 Jul 2014 07:41:35 +0000 (+0800) Subject: rk3288 hdmi: fix compile error when open HDMI_DEBUG X-Git-Tag: firefly_0821_release~4916^2~222 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b78dd8cc536e9e81f36b835723ab0f86e3ee55d0;p=firefly-linux-kernel-4.4.55.git rk3288 hdmi: fix compile error when open HDMI_DEBUG --- diff --git a/drivers/video/rockchip/hdmi/chips/rk3288/rk3288_hdmi_hw.c b/drivers/video/rockchip/hdmi/chips/rk3288/rk3288_hdmi_hw.c old mode 100644 new mode 100755 index 35c28d93dbda..c599106076c7 --- a/drivers/video/rockchip/hdmi/chips/rk3288/rk3288_hdmi_hw.c +++ b/drivers/video/rockchip/hdmi/chips/rk3288/rk3288_hdmi_hw.c @@ -558,7 +558,7 @@ int rk3288_hdmi_video_sampler(struct hdmi *hdmi_drv, } #ifdef HDMI_DEBUG -static int rk3288_hdmi_read_phy(struct rk3288_hdmi_device *hdmi_dev, +static int __maybe_unused rk3288_hdmi_read_phy(struct rk3288_hdmi_device *hdmi_dev, int reg_addr) { int trytime = 2, i = 0, op_status = 0;