summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/io.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-12-29 17:09:18 +0100
committerArnd Bergmann <arnd@arndb.de>2017-07-27 22:57:46 +0200
commitd1c888878cb19229653aecfbbfd928300ba2805b (patch)
tree26cf02dbb08a6db4893c5db28573f87162000757 /arch/arm/mach-omap2/io.c
parentc1ae3f7c4b7c4ae0c83014969c99e8108e268e16 (diff)
ARM: omap1: avoid unused variable warning
The osk_mistral_init() contains code that is only compiled when CONFIG_PM is set, but it uses a variable that is declared outside of the #ifdef: arch/arm/mach-omap1/board-osk.c: In function 'osk_mistral_init': arch/arm/mach-omap1/board-osk.c:513:7: warning: unused variable 'ret' [-Wunused-variable] This removes the #ifdef around the user of the variable, make it always used. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Suggested-by: Tony Lindgren <tony@atomide.com> Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
0 files changed, 0 insertions, 0 deletions