diff options
author | 2012-11-15 13:09:03 -0600 | |
---|---|---|
committer | 2012-11-16 10:35:09 -0600 | |
commit | 258e84af9799b8c81cf856dcbd8e2d4cc082741d (patch) | |
tree | dec8ce3b8dab55ecbc65f71f716236fdab95acd3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ARM: OMAP: Remove unnecessary inclusion of dmtimer.h (diff) | |
download | linux-dev-258e84af9799b8c81cf856dcbd8e2d4cc082741d.tar.xz linux-dev-258e84af9799b8c81cf856dcbd8e2d4cc082741d.zip |
ARM: OMAP2+: Fix compiler warning for 32k timer
Commit "ARM: OMAP2+: Add device-tree support for 32kHz counter"
added structure omap_counter_match to the OMAP2 timer code. When
CONFIG_OMAP_32K_TIMER is not defined this structure generates the
following as it is not used.
CC arch/arm/mach-omap2/timer.o
arch/arm/mach-omap2/timer.c:163:28: warning: 'omap_counter_match'
defined but not used [-Wunused-variable]
Move the definition of omap_counter_match to avoid this warning when
CONFIG_OMAP_32K_TIMER is not set.
Thanks to Kevin Hilman for tracking down and reporting this problem.
Reported-by: Kevin Hilam <khilman@deeprootsystems.com>
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions