From: Laurent Pinchart Date: Tue, 26 Nov 2013 01:45:34 +0000 (+0100) Subject: sh-pfc: Fix PINMUX_GPIO macro X-Git-Tag: v3.13-rc5~35^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8620f394c4f9abd13e4fdf927d9c2bbeda74cde7;p=profile%2Fivi%2Fkernel-x86-ivi.git sh-pfc: Fix PINMUX_GPIO macro Commit 7cbb0e55e27e ("sh-pfc: Don't duplicate argument to PINMUX_GPIO macro") erronesouly modified the PINMUX_GPIO macro in a way that resulted in all pins being named "name". Fix the macro to name the pins correctly. Cc: stable@vger.kernel.org Signed-off-by: Laurent Pinchart Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/sh-pfc/sh_pfc.h b/drivers/pinctrl/sh-pfc/sh_pfc.h index 11bd0d9..e214295 100644 --- a/drivers/pinctrl/sh-pfc/sh_pfc.h +++ b/drivers/pinctrl/sh-pfc/sh_pfc.h @@ -254,7 +254,7 @@ struct sh_pfc_soc_info { #define PINMUX_GPIO(_pin) \ [GPIO_##_pin] = { \ .pin = (u16)-1, \ - .name = __stringify(name), \ + .name = __stringify(GPIO_##_pin), \ .enum_id = _pin##_DATA, \ }