From: Christian Lamparter Date: Fri, 12 Jul 2019 15:33:36 +0000 (+0200) Subject: net: dsa: qca8k: replace legacy gpio include X-Git-Tag: v5.4-rc1~572^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f32ae8a5f131a92cd8179adf55cd8405c60e0c20;p=platform%2Fkernel%2Flinux-rpi.git net: dsa: qca8k: replace legacy gpio include This patch replaces the legacy bulk gpio.h include with the proper gpio/consumer.h variant. This was caught by the kbuild test robot that was running into an error because of this. For more information why linux/gpio.h is bad can be found in: commit 56a46b6144e7 ("gpio: Clarify that is legacy") Reported-by: kbuild test robot Link: https://www.spinics.net/lists/netdev/msg584447.html Fixes: a653f2f538f9 ("net: dsa: qca8k: introduce reset via gpio feature") Signed-off-by: Christian Lamparter Reviewed-by: Vivien Didelot Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/dsa/qca8k.c b/drivers/net/dsa/qca8k.c index 27709f8..232e8cc 100644 --- a/drivers/net/dsa/qca8k.c +++ b/drivers/net/dsa/qca8k.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include "qca8k.h"