[PATCH v2 0/3] net: macb: rework at91 specific handling
Boris Brezillon
boris.brezillon at free-electrons.com
Fri Mar 6 02:23:59 PST 2015
Hello,
This removes the #if defined(ARCH_AT91) sections to prevent any problem
when enabling ARM multi-platform support.
The at91 specific logic is now activated when the "at91sam9260-macb"
compatible string is found.
Best Regards,
Boris
Changes since v1:
- avoid changing existing behavior as Alexandre suggested
Boris Brezillon (3):
net/macb: Update DT bindings documentation
ARM: at91/dt: fix macb compatible strings
net: macb: remove #if defined(CONFIG_ARCH_AT91) sections
Documentation/devicetree/bindings/net/macb.txt | 5 +++-
arch/arm/boot/dts/at91sam9260.dtsi | 2 +-
arch/arm/boot/dts/at91sam9263.dtsi | 2 +-
arch/arm/boot/dts/at91sam9g45.dtsi | 2 +-
arch/arm/boot/dts/at91sam9x5_macb0.dtsi | 2 +-
arch/arm/boot/dts/at91sam9x5_macb1.dtsi | 2 +-
arch/arm/boot/dts/sama5d3_emac.dtsi | 2 +-
drivers/net/ethernet/cadence/macb.c | 32 ++++++++++++++------------
drivers/net/ethernet/cadence/macb.h | 2 ++
9 files changed, 29 insertions(+), 22 deletions(-)
--
1.9.1
More information about the linux-arm-kernel
mailing list