diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-06 07:44:05 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-12 03:15:34 +0200 |
commit | 2b1de625eb0d335750c7118a1a2a95eb61514b89 (patch) | |
tree | e3fde7168de2543a0210202b4fabbd856db796b7 /target/linux/generic | |
parent | 58a8fe7cb0775614d3292edbf63a9ff5125f95c0 (diff) | |
download | upstream-2b1de625eb0d335750c7118a1a2a95eb61514b89.tar.gz upstream-2b1de625eb0d335750c7118a1a2a95eb61514b89.tar.bz2 upstream-2b1de625eb0d335750c7118a1a2a95eb61514b89.zip |
bcm4908: 5.15: fix compilation error for BCM4908 pinmux patch
Fix compilation warning:
drivers/pinctrl/bcm/pinctrl-bcm4908.c: In function 'bcm4908_pinctrl_probe':
drivers/pinctrl/bcm/pinctrl-bcm4908.c:541:53: error: passing argument 3 of 'pinmux_generic_add_function' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
541 | function->groups,
| ~~~~~~~~^~~~~~~~
In file included from drivers/pinctrl/bcm/pinctrl-bcm4908.c:16:
drivers/pinctrl/bcm/../pinmux.h:153:46: note: expected 'const char **' but argument is of type 'const char * const*'
153 | const char **groups,
| ~~~~~~~~~~~~~^~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/generic')
0 files changed, 0 insertions, 0 deletions