From 03ffb507c8c4998fa85d3efae70cb18085457263 Mon Sep 17 00:00:00 2001 From: Andrew Jeffery Date: Fri, 7 Apr 2017 22:28:17 +0930 Subject: pinctrl: aspeed: Fix unused-const-variable warnings Three video input signals suffered from a search/replace failure in some copied code. Signed-off-by: Andrew Jeffery Signed-off-by: Linus Walleij --- drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'drivers/pinctrl') diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c b/drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c index 7de596e..731dc23 100644 --- a/drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c +++ b/drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c @@ -856,8 +856,8 @@ SIG_EXPR_DECL(VPIG3, VPI18, VPI18_DESC, AB1_DESC); SIG_EXPR_DECL(VPIG3, VPI24, VPI24_DESC, AB1_DESC); SIG_EXPR_DECL(VPIG3, VPI30, VPI30_DESC, AB1_DESC); SIG_EXPR_LIST_DECL(VPIG3, SIG_EXPR_PTR(VPIG3, VPI18), - SIG_EXPR_PTR(VPIG2, VPI24), - SIG_EXPR_PTR(VPIG2, VPI30)); + SIG_EXPR_PTR(VPIG3, VPI24), + SIG_EXPR_PTR(VPIG3, VPI30)); SIG_EXPR_LIST_DECL_SINGLE(PWM3, PWM3, AB1_DESC); MS_PIN_DECL(AB1, GPION3, VPIG3, PWM3); FUNC_GROUP_DECL(PWM3, AB1); @@ -868,8 +868,8 @@ SIG_EXPR_DECL(VPIG4, VPI18, VPI18_DESC, W5_DESC); SIG_EXPR_DECL(VPIG4, VPI24, VPI24_DESC, W5_DESC); SIG_EXPR_DECL(VPIG4, VPI30, VPI30_DESC, W5_DESC); SIG_EXPR_LIST_DECL(VPIG4, SIG_EXPR_PTR(VPIG4, VPI18), - SIG_EXPR_PTR(VPIG2, VPI24), - SIG_EXPR_PTR(VPIG2, VPI30)); + SIG_EXPR_PTR(VPIG4, VPI24), + SIG_EXPR_PTR(VPIG4, VPI30)); SIG_EXPR_LIST_DECL_SINGLE(PWM4, PWM4, W5_DESC); MS_PIN_DECL(W5, GPION4, VPIG4, PWM4); FUNC_GROUP_DECL(PWM4, W5); @@ -880,8 +880,8 @@ SIG_EXPR_DECL(VPIG5, VPI18, VPI18_DESC, Y4_DESC); SIG_EXPR_DECL(VPIG5, VPI24, VPI24_DESC, Y4_DESC); SIG_EXPR_DECL(VPIG5, VPI30, VPI30_DESC, Y4_DESC); SIG_EXPR_LIST_DECL(VPIG5, SIG_EXPR_PTR(VPIG5, VPI18), - SIG_EXPR_PTR(VPIG2, VPI24), - SIG_EXPR_PTR(VPIG2, VPI30)); + SIG_EXPR_PTR(VPIG5, VPI24), + SIG_EXPR_PTR(VPIG5, VPI30)); SIG_EXPR_LIST_DECL_SINGLE(PWM5, PWM5, Y4_DESC); MS_PIN_DECL(Y4, GPION5, VPIG5, PWM5); FUNC_GROUP_DECL(PWM5, Y4); -- cgit v1.1