OSDN Git Service

net: dsa: Drop GPIO includes
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 26 Aug 2018 22:20:11 +0000 (00:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Aug 2018 22:24:33 +0000 (15:24 -0700)
Commit 52638f71fcff ("dsa: Move gpio reset into switch driver")
moved the GPIO handling into the switch drivers but forgot
to remove the GPIO header includes.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c

index e63c554..9f3209f 100644 (file)
 #include <linux/of_mdio.h>
 #include <linux/of_platform.h>
 #include <linux/of_net.h>
-#include <linux/of_gpio.h>
 #include <linux/netdevice.h>
 #include <linux/sysfs.h>
 #include <linux/phy_fixed.h>
 #include <linux/ptp_classify.h>
-#include <linux/gpio/consumer.h>
 #include <linux/etherdevice.h>
 
 #include "dsa_priv.h"