[PATCH] mtd: orion_nand: remove <mach/hardware.h> include
From: Thomas Petazzoni <hidden>
Date: 2012-08-28 12:22:36
Le Tue, 28 Aug 2012 11:11:39 +0200, Andrew Lunn [off-list ref] a ?crit :
I compiled tested on Dove, Kirkwood, Orion5x and mv78xx0. Tested-by: Andrew Lunn <andrew@lunn.ch>
Thanks! Will Jason take care of merging this on top of the previous address decoding patches? Note that if you want to keep build bisectability, it should be merged before my "arm: plat-orion: introduce PLAT_ORION_LEGACY hidden config option" patch.
One other driver you might want to look at is: drivers/watchdog/orion_wdt.c It uses <mach/bridge-regs.h>
This driver is:
config ORION_WATCHDOG
tristate "Orion watchdog"
depends on ARCH_ORION5X || ARCH_KIRKWOOD
so it isn't selectable with ARCH_MVEBU, so it will not cause problems
for now. Of course, at some point, we'll have a look at the watchdog
driver but for now, it's fine.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com