[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <alpine.LFD.2.00.1106281919310.2142@xanadu.home>
Date: Tue, 28 Jun 2011 19:24:22 -0400 (EDT)
From: Nicolas Pitre <nico@...xnic.net>
To: Rob Herring <robherring2@...il.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Michal Simek <monstr@...str.eu>,
Rob Herring <rob.herring@...xeda.com>
Subject: Re: [RFC PATCH 0/4] ARM: make mach/hardware.h optional
On Tue, 28 Jun 2011, Rob Herring wrote:
> From: Rob Herring <rob.herring@...xeda.com>
>
> Currently, all ARM platforms must have a mach/hardware.h include. This is
> because it is ultimately included by linux/pci.h which is included in many
> places even for !CONFIG_PCI.
>
> This could be fixed simply with an ifdef around the include of mach/hardware.h
> in asm/pci.h. However, in the interest of fixing this for single kernel
> binary builds, this series removes the include of mach/hardware.h outside of
> mach-* and plat-*. What's used from hardware.h is a couple of PCI defines.
> Converting them to variables allows each platform to set the values as needed.
Excellent ! This is certainly moving things in the right direction.
For the 4 patches, you can add:
Acked-by: Nicolas Pitre <nicolas.pitre@...aro.org>
Obviously for patch 1/4 it would be nice to have the opinion of the PCI
maintainer as well.
Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists