[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5369131A.1020908@gmail.com>
Date: Tue, 06 May 2014 18:51:38 +0200
From: Daniel Mack <zonque@...il.com>
To: Florian Fainelli <f.fainelli@...il.com>
CC: mugunthanvnm <mugunthanvnm@...com>,
David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH] net: davinci_mdio: Use of_mdiobus_register()
On 05/06/2014 06:42 PM, Florian Fainelli wrote:
> 2014-05-06 8:18 GMT-07:00 Daniel Mack <zonque@...il.com>:
>> of_mdiobus_register() calls mdiobus_register() internally, so the
>> functionality is preserved. However, by calling the of_ variant, phy
>> nodes can be augmented with extra information.
>
> Are there any non Device Tree aware platforms using this driver?
> of_mdiobus_register() is an empty stub returning -ENOSYS when
> CONFIG_OF is not set, maybe we should make it return
> mdiobus_register() instead...
Ah, good point. Yes, what you propose seems like a valid fix. I'll send
a patch for that.
Thanks,
Daniel
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists