diff options
author | David S. Miller <davem@davemloft.net> | 2015-03-10 06:50:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-10 06:50:26 +0300 |
commit | bf0b211256be342e92d3ee5c5a1fb8d42f3928bb (patch) | |
tree | 3e57589f3c8b06b02e895e2428a82433f5cb8bda /net/switchdev/switchdev.c | |
parent | 3cef5c5b0b56f3f90b0e9ff8d3f8dc57f464cc14 (diff) | |
parent | 769a020289bc8f68b7e48faf8fee970346d71a3b (diff) | |
download | linux-bf0b211256be342e92d3ee5c5a1fb8d42f3928bb.tar.xz |
Merge branch 'dsa-next'
Florian Fainelli says:
====================
net: dsa: remove restriction on platform_device
This patch series removes the restriction in DSA to operate exclusively with
platform_device Ethernet MAC drivers when using Device Tree. This basically
allows arbitrary Ethernet MAC drivers to be used now in conjunction with
Device Tree.
The reason was that DSA was using a of_find_device_by_node() which limits
the device_node to device pointer search exclusively to platform_device,
in our case, we are interested in doing a "class" research and lookup the
net_device.
Thanks to Chris Packham for testing this on his platform.
Changes in v2:
- fix build for !CONFIG_OF_NET
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions