[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101014101313.adf7eb2a.randy.dunlap@oracle.com>
Date: Thu, 14 Oct 2010 10:13:13 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Daniel Drake <dsd@...top.org>, akpm <akpm@...ux-foundation.org>
Cc: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
x86@...nel.org
Subject: [PATCH -next] x86: olpc-xo1 uses/depends on PCI
From: Randy Dunlap <randy.dunlap@...cle.com>
olpc-xo1 uses pci_*() interfaces so it should depend on PCI.
arch/x86/kernel/olpc-xo1.c:65: error: implicit declaration of function 'pci_enable_device_io'
arch/x86/kernel/olpc-xo1.c:71: error: implicit declaration of function 'pci_request_region'
arch/x86/kernel/olpc-xo1.c:80: error: implicit declaration of function 'pci_release_region'
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
Cc: Daniel Drake <dsd@...top.org>
---
arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20101014.orig/arch/x86/Kconfig
+++ linux-next-20101014/arch/x86/Kconfig
@@ -2018,7 +2018,7 @@ config OLPC
config OLPC_XO1
tristate "OLPC XO-1 support"
- depends on OLPC
+ depends on OLPC && PCI
---help---
Add support for non-essential features of the OLPC XO-1 laptop.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists