diff options
author | Ricardo Perez Olivares <x0081762@ti.com> | 2010-05-06 22:37:08 -0500 |
---|---|---|
committer | Ricardo Perez Olivares <x0081762@ti.com> | 2010-05-07 17:49:37 -0500 |
commit | 0b63c7f50747b38f6d629a8c6a0f980325ccce5d (patch) | |
tree | 8cb71688334c61c001d5055e358eccb3010b3a40 | |
parent | 27a07e8df05c7a6b3f968d9a28b10cd41741c2d5 (diff) |
OMAP4: hdmi_lib.c: Warnings cleanup
This patch clean up the following warnings (2):
arch/arm/plat-omap/hdmi_lib.c:534:
warning: 'hdmi_core_powerdown_enable' defined but not used
arch/arm/plat-omap/hdmi_lib.c:1088:
warning: 'hdmi_w1_audio_disable' defined but not used
Adding:
__attribute__ ((unused))
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
-rwxr-xr-x | arch/arm/plat-omap/hdmi_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/hdmi_lib.c b/arch/arm/plat-omap/hdmi_lib.c index 9c4d49cdd65b..ee2374f3494e 100755 --- a/arch/arm/plat-omap/hdmi_lib.c +++ b/arch/arm/plat-omap/hdmi_lib.c @@ -530,7 +530,7 @@ static void hdmi_core_powerdown_disable(void) } /* todo: power off the core */ -static void hdmi_core_powerdown_enable(void) +static __attribute__ ((unused)) void hdmi_core_powerdown_enable(void) { REG_FLD_MOD(HDMI_CORE_SYS, HDMI_CORE_CTRL1, 0x1, 0, 0); } @@ -1084,7 +1084,7 @@ static void hdmi_w1_audio_enable(void) REG_FLD_MOD(HDMI_WP, HDMI_WP_AUDIO_CTRL, 1, 31, 31); } -static void hdmi_w1_audio_disable(void) +static __attribute__ ((unused))__attribute__ ((unused)) void hdmi_w1_audio_disable(void) { REG_FLD_MOD(HDMI_WP, HDMI_WP_AUDIO_CTRL, 0, 31, 31); } |