mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
sh-pfc: r8a7779: use RCAR_GP_PIN() on _GP_GPIO() macro
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
e21ea1977c
commit
de9edf7d2c
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@
|
|||
#define _GP_PORT_ALL(bank, pin, name, sfx) name##_##sfx
|
||||
|
||||
#define _GP_GPIO(bank, pin, _name, sfx) \
|
||||
[(bank * 32) + pin] = { \
|
||||
[RCAR_GP_PIN(bank, pin)] = { \
|
||||
.name = __stringify(_name), \
|
||||
.enum_id = _name##_DATA, \
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue