diff options
author | Daniel Mack <[email protected]> | 2014-05-06 18:52:16 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-05-07 17:16:35 -0400 |
commit | 23a456f05353035d1a2b3f1b9a92707acdc036e0 (patch) | |
tree | 24de32c9862c164c333184da26c0ca5439377657 /fs/jbd2/commit.c | |
parent | aeefa1ecfc799b0ea2c4979617f14cecd5cccbfd (diff) |
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 <[email protected]>
Suggested-by: Florian Fainelli <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Acked-by: Mugunthan V N <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions