net: dsa: qca8k: Use the right GPIO header
PATCH 1/1 net: dsa: qca8k: Use the right GPIO header
The driver header for qca8k includes the legacy GPIO header <linux/gpio.h> but does not use any symbols from it and actually wants <linux/gpio/consumer.h> so fix this up.
--- drivers/net/dsa/qca/qca8k.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/qca/qca8k.h +1 -1
@@ -10,7 +10,7 @@#include <linux/delay.h> #include <linux/regmap.h> -#include <linux/gpio.h> +#include <linux/gpio/consumer.h> #include <linux/leds.h> #include <linux/dsa/tag_qca.h>
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260327-net-dsa-qca8k-f37d0a9fba3f
Best regards,
Signature · 1 line
Linus Walleij <[email protected]>
Quoted 5 lines · Linus Walleij
The driver header for qca8k includes the legacy GPIO header <
linux/gpio.h> but does not use any symbols from it and actually wants <linux/gpio/consumer.h> so fix this up.Signed-off-by Linus Walleij <[email protected]>
Andrew
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 10 lines · On Fri, 27 Mar 2026 13:23:45 +0100 you wrote:
The driver header for qca8k includes the legacy GPIO header <
linux/gpio.h> but does not use any symbols from it and actually wants <linux/gpio/consumer.h> so fix this up.Signed-off-by Linus Walleij <[email protected]>--- drivers/net/dsa/qca/qca8k.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)[...]
Here is the summary with links:
- [net-next] net: dsa: qca8k: Use the right GPIO header
https://git.kernel.org/netdev/net-next/c/d4383c7c7863
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html