Re: [PATCH 4/4] net: dsa: LAN9303: add MDIO managed mode support

2017-04-06 Thread Andrew Lunn
On Thu, Apr 06, 2017 at 06:53:10AM -0700, Florian Fainelli wrote: > > > On 04/05/2017 12:32 PM, Andrew Lunn wrote: > >> +static const struct of_device_id lan9303_mdio_of_match[] = { > >> + { .compatible = "smsc,lan9303" }, > >> + { /* sentinel */ }, > >> +}; > >> +MODULE_DEVICE_TABLE(of, lan930

Re: [PATCH 4/4] net: dsa: LAN9303: add MDIO managed mode support

2017-04-06 Thread Florian Fainelli
On 04/05/2017 12:32 PM, Andrew Lunn wrote: >> +static const struct of_device_id lan9303_mdio_of_match[] = { >> +{ .compatible = "smsc,lan9303" }, >> +{ /* sentinel */ }, >> +}; >> +MODULE_DEVICE_TABLE(of, lan9303_mdio_of_match); > > If i'm reading this right, i think you have the same co

Re: [PATCH 4/4] net: dsa: LAN9303: add MDIO managed mode support

2017-04-05 Thread Andrew Lunn
> +static const struct of_device_id lan9303_mdio_of_match[] = { > + { .compatible = "smsc,lan9303" }, > + { /* sentinel */ }, > +}; > +MODULE_DEVICE_TABLE(of, lan9303_mdio_of_match); If i'm reading this right, i think you have the same compatible string for both the i2c and the mdio driver