[PATCH 0/6] footbridge consolidation patches
Russell King - ARM Linux
linux at arm.linux.org.uk
Mon Jun 13 04:20:44 EDT 2011
On Mon, Jun 13, 2011 at 02:39:39PM +0800, Bryan Wu wrote:
> When trying to convert old leds event driver to led trigger drivers, I reviewed
> the code of mach-footbridge. move seperated PCI code and leds code into a
> single board files like other machines.
This looks like it breaks all these when CONFIG_PCI=n. In that case,
we would avoid building the PCI supporting files. However, with your
merged files, we build it anyway and end up with undefined calls to
the PCI subsystem.
The code is separated to avoid that, and to avoid ifdefs.
I'm not entirely sure what the point of this patch set is, because it
mostly just moves the code into one file per platform and doesn't
consolidate anything between the platforms themselves.
More information about the linux-arm-kernel
mailing list