[PATCH v2 0/3] net: macb: rework at91 specific handling

From: Boris Brezillon
Date: Fri Mar 06 2015 - 05:25:56 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/