diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-11-10 03:54:20 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-10 03:54:20 -0500 |
commit | c724d07a56e60e91b0aa75193f86fb000545ffe4 (patch) | |
tree | 91af3472554593c065196f26e18c3ad33cf6bbde /drivers/video/sh_mobile_hdmi.c | |
parent | 830539d14379d0f5cb07832a3e4466418011f843 (diff) |
fbdev: sh_mobile_hdmi: fix up compiler warnings.
CC drivers/video/sh_mobile_hdmi.o
drivers/video/sh_mobile_hdmi.c: In function 'sh_hdmi_avi_infoframe_setup':
drivers/video/sh_mobile_hdmi.c:539: warning: unused variable 'var'
drivers/video/sh_mobile_hdmi.c: In function 'sh_hdmi_clk_configure':
drivers/video/sh_mobile_hdmi.c:1021: warning: unused variable 'pdata'
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/sh_mobile_hdmi.c')
-rw-r--r-- | drivers/video/sh_mobile_hdmi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/sh_mobile_hdmi.c b/drivers/video/sh_mobile_hdmi.c index 8338bd4d277e..3b4cf987fb43 100644 --- a/drivers/video/sh_mobile_hdmi.c +++ b/drivers/video/sh_mobile_hdmi.c | |||
@@ -536,7 +536,6 @@ static void sh_hdmi_phy_config(struct sh_hdmi *hdmi) | |||
536 | */ | 536 | */ |
537 | static void sh_hdmi_avi_infoframe_setup(struct sh_hdmi *hdmi) | 537 | static void sh_hdmi_avi_infoframe_setup(struct sh_hdmi *hdmi) |
538 | { | 538 | { |
539 | struct fb_var_screeninfo *var = &hdmi->var; | ||
540 | u8 vic; | 539 | u8 vic; |
541 | 540 | ||
542 | /* AVI InfoFrame */ | 541 | /* AVI InfoFrame */ |
@@ -1018,7 +1017,6 @@ static bool sh_hdmi_must_reconfigure(struct sh_hdmi *hdmi) | |||
1018 | static long sh_hdmi_clk_configure(struct sh_hdmi *hdmi, unsigned long hdmi_rate, | 1017 | static long sh_hdmi_clk_configure(struct sh_hdmi *hdmi, unsigned long hdmi_rate, |
1019 | unsigned long parent_rate) | 1018 | unsigned long parent_rate) |
1020 | { | 1019 | { |
1021 | struct sh_mobile_hdmi_info *pdata = hdmi->dev->platform_data; | ||
1022 | int ret; | 1020 | int ret; |
1023 | 1021 | ||
1024 | if (parent_rate && clk_get_parent(hdmi->hdmi_clk)) { | 1022 | if (parent_rate && clk_get_parent(hdmi->hdmi_clk)) { |