[PATCH] arm64: compiling issue for allmodconfig, need "asm/parport.h"by "drivers/parport/parport_pc.c"

From: Chen Gang
Date: Mon May 20 2013 - 00:20:25 EST



Need add the default file in 'asm/Kbuild' just like arm has done.

The build command is:
make EXTRA_CFLAGS=-W ARCH=arm64 allmodconfig
make EXTRA_CFLAGS=-W ARCH=arm64 menuconfig
set "aarch64-linux-gnu-" as cross compiling prefix.
make EXTRA_CFLAGS=-W ARCH=arm64

The related error:
drivers/parport/parport_pc.c:67:25: fatal error: asm/parport.h: No such file or directory


Signed-off-by: Chen Gang <gang.chen@xxxxxxxxxxx>
---
arch/arm64/include/asm/Kbuild | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm64/include/asm/Kbuild b/arch/arm64/include/asm/Kbuild
index 79a642d..9005e81 100644
--- a/arch/arm64/include/asm/Kbuild
+++ b/arch/arm64/include/asm/Kbuild
@@ -25,6 +25,7 @@ generic-y += local64.h
generic-y += mman.h
generic-y += msgbuf.h
generic-y += mutex.h
+generic-y += parport.h
generic-y += pci.h
generic-y += percpu.h
generic-y += poll.h
--
1.7.7.6
--
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/