mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
sh-pfc: Fix PINMUX_GPIO macro
Commit 7cbb0e55e2
("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 <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
f2fa75cdf8
commit
8620f394c4
@ -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, \
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user