aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-orion/common.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-03-22 03:39:25 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-22 10:25:15 -0400
commit7111b717a0e1c3edf492ffad34f030e323ca371c (patch)
treed4571c4baa05a45506d135108e8a793bdda82fe2 /arch/arm/plat-orion/common.c
parent43d6869037d6fa8f92a7a7e6df3b48147c8a3ef9 (diff)
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 'arch/arm/plat-orion/common.c')
0 files changed, 0 insertions, 0 deletions