Skip to contentSkip to conversation

ARM: ux500: fix pin warning

PATCH New Linus Walleij 2 participants 2 messages Nov 15, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 arch/arm/mach-ux500/board-mop500-pins.c | 2 --
 1 file changed, 2 deletions(-)
arch/arm/mach-ux500/board-mop500-pins.c +0 -2
index 5770ed0..6679d8a 100644
@@ -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
#1 lore raw

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.

Applied on drivers branch, thanks!

Arnd