diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-03-22 03:39:25 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-22 14:25:15 (GMT) |
commit | 7111b717a0e1c3edf492ffad34f030e323ca371c (patch) | |
tree | d4571c4baa05a45506d135108e8a793bdda82fe2 /drivers/net/ethernet/sgi | |
parent | 43d6869037d6fa8f92a7a7e6df3b48147c8a3ef9 (diff) | |
download | linux-fsl-qoriq-7111b717a0e1c3edf492ffad34f030e323ca371c.tar.xz |
net: mvmdio: allow platform device style registration
This patch changes the mvmdio driver not to use device tree
helper functions such as of_mdiobus_register() and of_iomap() so we can
instantiate this driver using a classic platform_device approach. Use
the device manager helper to ioremap() the base register cookie so we
get automatic freeing upon error and removal. This change is harmless
for Device Tree platforms because they will get the driver be registered
the same way as it was before.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sgi')
0 files changed, 0 insertions, 0 deletions