ARM: ux500: fix pin warning
Subsystems (3)
PATCH 1/1 ARM: ux500: fix pin warning
From: Linus Walleij <[email protected]>
Recent pin changes produce this warning:
arch/arm/mach-ux500/board-mop500-pins.c:73:22:
error: 'out_hi_wkup_pdis' defined but not used
[-Werror=unused-variable]
Fix this by deleting the offending definition.
Reported-by Arnd Bergmann <[email protected]>
Signed-off-by Linus Walleij <[email protected]>
--- arch/arm/mach-ux500/board-mop500-pins.c | 2 -- 1 file changed, 2 deletions(-)
arch/arm/mach-ux500/board-mop500-pins.c +0 -2
@@ -71,8 +71,6 @@ BIAS(in_wkup_pdis_en, PIN_SLPM_DIR_INPUT|PIN_SLPM_WAKEUP_ENABLE| PIN_SLPM_PDIS_ENABLED);BIAS (in_wkup_pdis,PIN_SLPM_DIR_INPUT |PIN_SLPM_WAKEUP_ENABLE |PIN_SLPM_PDIS_DISABLED ); -BIAS (out_hi_wkup_pdis,PIN_SLPM_OUTPUT_HIGH |PIN_SLPM_WAKEUP_ENABLE | -PIN_SLPM_PDIS_DISABLED );BIAS (out_wkup_pdis,PIN_SLPM_DIR_OUTPUT |PIN_SLPM_WAKEUP_ENABLE |PIN_SLPM_PDIS_DISABLED );
Signature · 1 line
1.7.11.3
PATCH 1/1 ARM: ux500: fix pin warning
Quoted 4 lines · Linus Walleij
From: Linus Walleij <[email protected]>
Recent pin changes produce this warning:
Quoted 8 lines
arch/arm/mach-ux500/board-mop500-pins.c:73:22:
error: 'out_hi_wkup_pdis' defined but not used
[-Werror=unused-variable]Fix this by deleting the offending definition.
Reported-by Arnd Bergmann <[email protected]>Signed-off-by Linus Walleij <[email protected]>
Applied on drivers branch, thanks!
Arnd