[PATCH] Add KZM-ARM11-01 support

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Oct 30 07:22:08 EDT 2009


On Fri, Oct 30, 2009 at 12:08:41PM +0100, Sascha Hauer wrote:
> > +#include <asm/irq.h>
> 
> linux/irq.h

linux/irq.h isn't actually the equivalent of asm/irq.h.  linux/irq.h is
the generic irq header.  asm/irq.h is correct here.  This is one of the
exceptions to "use linux/FOO.h instead of asm/FOO.h" rules.

> > +#include <asm/mach-types.h>
> > +#include <asm/setup.h>
> > +#include <asm/mach/arch.h>
> > +#include <asm/mach/irq.h>
> > +#include <asm/mach/map.h>
> > +#include <asm/mach/time.h>
> > +
> > +#include <mach/board-kzmarm11.h>
> > +#include <mach/clock.h>
> > +#include <mach/common.h>
> > +#include <mach/gpio.h>

However, this should be linux/gpio.h



More information about the linux-arm-kernel mailing list