Re: [PATCH net-next 5/8] net: dsa: Export dev_to_net_device()

2017-01-10 Thread David Miller
From: Florian Fainelli Date: Tue, 10 Jan 2017 12:12:32 -0800 > @@ -491,7 +491,7 @@ struct mii_bus *dsa_host_dev_to_mii_bus(struct device > *dev) > } > EXPORT_SYMBOL_GPL(dsa_host_dev_to_mii_bus); > > -static struct net_device *dev_to_net_device(struct device *dev) > +struct net_device *dev_to

[PATCH net-next 5/8] net: dsa: Export dev_to_net_device()

2017-01-10 Thread Florian Fainelli
We are going to need this in net/dsa/dsa2.c as well, so make it avaialable. Signed-off-by: Florian Fainelli --- include/net/dsa.h | 1 + net/dsa/dsa.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/net/dsa.h b/include/net/dsa.h index 16a502a6c26a..b9394379affb