]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: dsa: qca8k: Use the right GPIO header
authorLinus Walleij <linusw@kernel.org>
Fri, 27 Mar 2026 12:23:45 +0000 (13:23 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 29 Mar 2026 18:49:21 +0000 (11:49 -0700)
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 <linusw@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20260327-net-dsa-qca8k-v1-1-94e613a5c369@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/qca/qca8k.h

index d046679265fa4e8992db16b3c39b4d64252d5ffd..1a00e2f62fef3c7bf52ea4d91396718fec80c5df 100644 (file)
@@ -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>