summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-03-22 07:39:25 +0400
committerDavid S. Miller <davem@davemloft.net>2013-03-22 18:25:15 +0400
commit7111b717a0e1c3edf492ffad34f030e323ca371c (patch)
treed4571c4baa05a45506d135108e8a793bdda82fe2 /include/linux/platform_data
parent43d6869037d6fa8f92a7a7e6df3b48147c8a3ef9 (diff)
downloadlinux-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 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions