diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-05-10 23:27:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-11 19:36:28 -0400 |
commit | 52638f71fcff9386fe64c83a18a129b122333fdf (patch) | |
tree | 253f15285b3a7bd4c02ed4a7681d0643bea9578c /include | |
parent | 14c7b3c3877075e6df22e071d4619cbdeac82ffd (diff) | |
download | linux-52638f71fcff9386fe64c83a18a129b122333fdf.tar.bz2 |
dsa: Move gpio reset into switch driver
Resetting the switch is something the driver does, not the framework.
So move the parsing of this property into the driver.
There are no in kernel users of this property, so moving it does not
break anything. There is however a board which will make use of this
property making its way into the kernel.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/dsa.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index 8e86af87c84f..ecb52e265cc3 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -16,7 +16,6 @@ #include <linux/timer.h> #include <linux/workqueue.h> #include <linux/of.h> -#include <linux/of_gpio.h> #include <linux/phy.h> #include <linux/phy_fixed.h> #include <linux/ethtool.h> @@ -65,13 +64,6 @@ struct dsa_chip_data { * NULL if there is only one switch chip. */ s8 *rtable; - - /* - * A switch may have a GPIO line tied to its reset pin. Parse - * this from the device tree, and use it before performing - * switch soft reset. - */ - struct gpio_desc *reset; }; struct dsa_platform_data { |