linux-next: build failure after merge of the pinctrl-intel tree
Subsystems (3)
Hi all,
After merging the pinctrl-intel tree, today's linux-next build (arm64 defconfig) failed like this:
Presumably caused by commit
e6b665a1c9ae ("pinctrl: Clean up headers")
I have applied the following patch for today.
From: Stephen Rothwell <[email protected]>
Date: Tue, 18 Oct 2022 13:06:39 +1100
Subject: [PATCH] fix up for "pinctrl: Clean up headers"
--- drivers/pinctrl/pinctrl-zynqmp.c | 1 + 1 file changed, 1 insertion(+)
drivers/pinctrl/pinctrl-zynqmp.c +1 -0
@@ -18,6 +18,7 @@#include <linux/firmware/xlnx-zynqmp.h> #include <linux/pinctrl/pinconf-generic.h> +#include <linux/pinctrl/pinconf.h> #include <linux/pinctrl/pinctrl.h> #include <linux/pinctrl/pinmux.h>
Signature · 5 lines
2.35.1 -- Cheers, Stephen Rothwell
Hi all,
Quoted 3 lines · On Tue, 18 Oct 2022 13:13:30 +1100 Stephen Rothwell <[email protected]>…
After merging the pinctrl-intel tree, today's linux-next build (arm64 defconfig) failed like this:
drivers/pinctrl/pinctrl-zynqmp.c:483:21: error: variable 'zynqmp_pinconf_ops' has initializer but incomplete type
483 | static const struct pinconf_ops zynqmp_pinconf_ops = {
| ^~~~~~~~~~~
drivers/pinctrl/pinctrl-zynqmp.c:484:10: error: 'const struct pinconf_ops' has no member named 'is_generic'
484 | .is_generic = true,
| ^~~~~~~~~~drivers/pinctrl/pinctrl-zynqmp.c:484:23: warning: excess elements in struct initializer
484 | .is_generic = true,
| ^~~~drivers/pinctrl/pinctrl-zynqmp.c:484:23: note: (near initialization for 'zynqmp_pinconf_ops') drivers/pinctrl/pinctrl-zynqmp.c:485:10: error: 'const struct pinconf_ops' has no member named 'pin_config_get'
485 | .pin_config_get = zynqmp_pinconf_cfg_get,
| ^~~~~~~~~~~~~~
drivers/pinctrl/pinctrl-zynqmp.c:485:27: warning: excess elements in struct initializer
485 | .pin_config_get = zynqmp_pinconf_cfg_get,
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/pinctrl-zynqmp.c:485:27: note: (near initialization for 'zynqmp_pinconf_ops')
drivers/pinctrl/pinctrl-zynqmp.c:486:10: error: 'const struct pinconf_ops' has no member named 'pin_config_set'
486 | .pin_config_set = zynqmp_pinconf_cfg_set,
| ^~~~~~~~~~~~~~
drivers/pinctrl/pinctrl-zynqmp.c:486:27: warning: excess elements in struct initializer
486 | .pin_config_set = zynqmp_pinconf_cfg_set,
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/pinctrl-zynqmp.c:486:27: note: (near initialization for 'zynqmp_pinconf_ops')
drivers/pinctrl/pinctrl-zynqmp.c:487:10: error: 'const struct pinconf_ops' has no member named 'pin_config_group_set'
487 | .pin_config_group_set = zynqmp_pinconf_group_set,
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/pinctrl-zynqmp.c:487:33: warning: excess elements in struct initializer
487 | .pin_config_group_set = zynqmp_pinconf_group_set,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/pinctrl-zynqmp.c:487:33: note: (near initialization for 'zynqmp_pinconf_ops')
drivers/pinctrl/pinctrl-zynqmp.c:483:33: error: storage size of 'zynqmp_pinconf_ops' isn't known
483 | static const struct pinconf_ops zynqmp_pinconf_ops = {
| ^~~~~~~~~~~~~~~~~~Quoted 26 lines
Presumably caused by commit
e6b665a1c9ae("pinctrl: Clean up headers")I have applied the following patch for today.
From: Stephen Rothwell <[email protected]>
Date: Tue, 18 Oct 2022 13:06:39 +1100
Subject: [PATCH] fix up for "pinctrl: Clean up headers"Signed-off-by Stephen Rothwell <[email protected]>--- drivers/pinctrl/pinctrl-zynqmp.c | 1 + 1 file changed, 1 insertion(+)drivers/pinctrl/pinctrl-zynqmp.c +1
-0@@ -18,6 +18,7 @@#include <linux/firmware/xlnx-zynqmp.h> #include <linux/pinctrl/pinconf-generic.h> +#include <linux/pinctrl/pinconf.h> #include <linux/pinctrl/pinctrl.h> #include <linux/pinctrl/pinmux.h>
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 26 lines · Stephen Rothwell
Hi all,
After merging the pinctrl-intel tree, today's linux-next build (arm64 defconfig) failed like this:
Presumably caused by commit
e6b665a1c9ae("pinctrl: Clean up headers")I have applied the following patch for today.
From: Stephen Rothwell <[email protected]>
Date: Tue, 18 Oct 2022 13:06:39 +1100
Subject: [PATCH] fix up for "pinctrl: Clean up headers"Signed-off-by Stephen Rothwell <[email protected]>--- drivers/pinctrl/pinctrl-zynqmp.c | 1 + 1 file changed, 1 insertion(+)drivers/pinctrl/pinctrl-zynqmp.c +0
-0
drivers/pinctrl/pinctrl-zynqmp.c line 23
Quoted 6 lines
drivers/pinctrl/pinctrl-zynqmp.c +1
-0@@ -18,6 +18,7 @@#include <linux/firmware/xlnx-zynqmp.h> #include <linux/pinctrl/pinconf-generic.h> +#include <linux/pinctrl/pinconf.h> #include <linux/pinctrl/pinctrl.h> #include <linux/pinctrl/pinmux.h>
Right, thank you for the fix, I'll incorporate it into the original patch.
Signature · 2 lines
With Best Regards, Andy Shevchenko