Re: [PATCH] arm64: wire in generic parport.h

From: Mark Salter
Date: Sun Aug 18 2013 - 22:36:41 EST


On Sun, 2013-08-18 at 22:25 +0200, Geert Uytterhoeven wrote:
> On Sun, Aug 18, 2013 at 6:01 PM, Mark Salter <msalter@xxxxxxxxxx> wrote:
> > The arm64 port doesn't provide a parport.h which causes a build failure
> > with some configurations:
> >
> > drivers/parport/parport_pc.c:67:25: fatal error: asm/parport.h: No such file or directory
> > #include <asm/parport.h>
> >
> > This patch wires in the generic parport.h for arm64.
>
> Can arm64 have a PC-style parport?

Good question. I'm not sure, but really doubt it.

>
> If not, you're better off disabling it in drivers/parport/Kconfig.
>
> You will receive bonus points for introducing ARCH_MAY_HAVE_PC_PARPORT,
> cfr. ARCH_MAY_HAVE_PC_FDC.
>

Yes, good point. I'll work up a new patch. I can use some bonus points.

--Mark


--
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/