linux-hardened/drivers/pinctrl/aspeed
Nathan Chancellor 21b2920fb5 pinctrl: aspeed: g6: Remove const specifier from aspeed_g6_sig_expr_set's ctx parameter
clang errors:

drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c:2325:9: error: incompatible
pointer types initializing 'int (*)(struct aspeed_pinmux_data *, const
struct aspeed_sig_expr *, bool)' with an expression of type 'int (const
struct aspeed_pinmux_data *, const struct aspeed_sig_expr *, bool)'
[-Werror,-Wincompatible-pointer-types]
        .set = aspeed_g6_sig_expr_set,
               ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Commit 674fa8daa8 ("pinctrl: aspeed-g5: Delay acquisition of regmaps")
changed the set function pointer declaration and the g6 one wasn't
updated (I assume because it wasn't merged yet).

Fixes: 2eda1cdec4 ("pinctrl: aspeed: Add AST2600 pinmux support")
Link: https://github.com/ClangBuiltLinux/linux/issues/632
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Link: https://lore.kernel.org/r/20190807003037.48457-1-natechancellor@gmail.com
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-08-10 10:13:11 +02:00
..
Kconfig pinctrl: aspeed: Add AST2600 pinmux support 2019-08-05 12:41:18 +02:00
Makefile pinctrl: aspeed: Add AST2600 pinmux support 2019-08-05 12:41:18 +02:00
pinctrl-aspeed-g4.c pinctrl: aspeed: Document existence of deprecated compatibles 2019-08-05 12:47:09 +02:00
pinctrl-aspeed-g5.c pinctrl: aspeed: Document existence of deprecated compatibles 2019-08-05 12:47:09 +02:00
pinctrl-aspeed-g6.c pinctrl: aspeed: g6: Remove const specifier from aspeed_g6_sig_expr_set's ctx parameter 2019-08-10 10:13:11 +02:00
pinctrl-aspeed.c This is the bulk of pin control changes for the v5.3 kernel 2019-07-13 15:02:27 -07:00
pinctrl-aspeed.h This is the bulk of pin control changes for the v5.3 kernel 2019-07-13 15:02:27 -07:00
pinmux-aspeed.c pinctrl: aspeed: Split out pinmux from general pinctrl 2019-07-03 10:38:03 +02:00
pinmux-aspeed.h pinctrl: aspeed: Add SIG_DESC_CLEAR() helper 2019-08-05 12:40:48 +02:00