Commit 1a7a7aa1 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Linus Walleij

pinctrl: nuvoton: Constify wpcm450_groups

There is no modifications are assumed for wpcm450_groups. Constify it.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231211154239.4190429-1-andriy.shevchenko@linux.intel.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent cd2807e7
...@@ -474,7 +474,7 @@ enum { ...@@ -474,7 +474,7 @@ enum {
#undef WPCM450_GRP #undef WPCM450_GRP
}; };
static struct pingroup wpcm450_groups[] = { static const struct pingroup wpcm450_groups[] = {
#define WPCM450_GRP(x) PINCTRL_PINGROUP(#x, x ## _pins, ARRAY_SIZE(x ## _pins)) #define WPCM450_GRP(x) PINCTRL_PINGROUP(#x, x ## _pins, ARRAY_SIZE(x ## _pins))
WPCM450_GRPS WPCM450_GRPS
#undef WPCM450_GRP #undef WPCM450_GRP
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment