From: Daniel Mack Date: Tue, 6 May 2014 16:52:16 +0000 (+0200) Subject: net: mdio: of_mdiobus_register(): fall back to mdiobus_register() for !CONFIG_OF X-Git-Tag: omap-for-v3.16/fixes-against-rc1~146^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23a456f05353035d1a2b3f1b9a92707acdc036e0;p=pandora-kernel.git net: mdio: of_mdiobus_register(): fall back to mdiobus_register() for !CONFIG_OF If CONFIG_OF is not set, make of_mdiobus_register() call mdiobus_register() instead of returning -ENOSYS. This way, we can just call of_mdiobus_register() from all DT-enabled drivers to handle the compat cases. Signed-off-by: Daniel Mack Suggested-by: Florian Fainelli Acked-by: Florian Fainelli Acked-by: Mugunthan V N Signed-off-by: David S. Miller --- Reading git-diff-tree failed