[2.6 patch] xtensa: don't offer PARPORT_PC

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <chris@...>
Cc: <linux-kernel@...>
Date: Monday, April 14, 2008 - 3:55 pm

This patch fixes the following compile error:

<--  snip  -->

...
  CC [M]  drivers/parport/parport_pc.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/parport/parport_pc.c:67:25: error: asm/parport.h: No such file or directory
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/parport/parport_pc.c: In function 'parport_pc_find_ports':
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/parport/parport_pc.c:3215: error: implicit declaration of function 'parport_pc_find_nonpci_ports'
make[3]: *** [drivers/parport/parport_pc.o] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
2a5e7c5402f0f38ab160eca47b905b23d1e71a3d diff --git a/drivers/parport/Kconfig b/drivers/parport/Kconfig
index 209b4a4..0670918 100644
--- a/drivers/parport/Kconfig
+++ b/drivers/parport/Kconfig
@@ -36,7 +36,7 @@ if PARPORT
 config PARPORT_PC
 	tristate "PC-style hardware"
 	depends on (!SPARC64 || PCI) && !SPARC32 && !M32R && !FRV && \
-		(!M68K || ISA) && !MN10300
+		(!M68K || ISA) && !MN10300 && !XTENSA
 	---help---
 	  You should say Y here if you have a PC-style parallel port. All
 	  IBM PC compatible computers and some Alphas have PC-style

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] xtensa: don't offer PARPORT_PC, Adrian Bunk, (Mon Apr 14, 3:55 pm)
Re: [2.6 patch] xtensa: don't offer PARPORT_PC, Alan Cox, (Mon Apr 14, 5:31 pm)
Re: [2.6 patch] xtensa: don't offer PARPORT_PC, Adrian Bunk, (Mon Apr 14, 6:13 pm)
Re: [2.6 patch] xtensa: don't offer PARPORT_PC, Chris Zankel, (Mon Apr 14, 7:00 pm)
Re: [2.6 patch] xtensa: don't offer PARPORT_PC, Rogan Dawes, (Mon Apr 14, 4:33 pm)
Re: [2.6 patch] xtensa: don't offer PARPORT_PC, Alan Cox, (Mon Apr 14, 5:34 pm)