summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2012-11-27 21:24:12 (GMT)
committerJon Hunter <jon-hunter@ti.com>2012-12-14 16:14:50 (GMT)
commite0c3e27ce19fcc81156ba49c91d83a676144a103 (patch)
tree2810582504f61a9ba4404154ceb18075fed38ff3 /virt
parent34cceb7464f2db0da4da900afa82a210f4470b89 (diff)
downloadlinux-fsl-qoriq-e0c3e27ce19fcc81156ba49c91d83a676144a103.tar.xz
ARM: AM335x: Fix warning in timer.c
When compiling the kernel with configuration options ... # CONFIG_ARCH_OMAP2 is not set # CONFIG_ARCH_OMAP3 is not set # CONFIG_ARCH_OMAP4 is not set # CONFIG_SOC_OMAP5 is not set CONFIG_SOC_AM33XX=y ... the following build warning is seen. CC arch/arm/mach-omap2/timer.o arch/arm/mach-omap2/timer.c:395:19: warning: ‘omap2_sync32k_clocksource_init’ defined but not used [-Wunused-function] This issue was introduced by commit 6f80b3b (ARM: OMAP2+: timer: remove CONFIG_OMAP_32K_TIMER) where the omap2_sync32k_clocksource_init() is no longer referenced by the timer initialisation function for the AM335x device as it has no 32k-sync timer. Fix this by adding the "__maybe_unused" compiler directive to the omap2_sync32k_clocksource_init() function to indicate that this function may be used for certain configurations. Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions