On 06/06/2016 05:41 AM, Pramod Kumar wrote: > An integrated multiplexer uses same address space for > "muxed bus selection" and "generation of mdio transaction" > hence its good to register parent bus from mux driver. > > Hence added a mechanism where mux driver could register a > parent bus and pass it down to framework via mdio_mux_init api. > > Signed-off-by: Pramod Kumar <pramod.kumar@xxxxxxxxxxxx> Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx> > diff --git a/include/linux/mdio-mux.h b/include/linux/mdio-mux.h > index a243dbb..61f5b21 100644 > --- a/include/linux/mdio-mux.h > +++ b/include/linux/mdio-mux.h > @@ -10,11 +10,13 @@ > #ifndef __LINUX_MDIO_MUX_H > #define __LINUX_MDIO_MUX_H > #include <linux/device.h> > +#include <linux/phy.h> You could have added just a forward declaration, this is a pointer to the structure so you don't need the compiler to have full knowledge of the storage type. Not a biggie. -- Florian -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html