[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-9e9006e9090dc1f88d5127cb69f416013e7ecd60@git.kernel.org>
Date: Fri, 15 Oct 2010 07:46:54 GMT
From: tip-bot for Randy Dunlap <randy.dunlap@...cle.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
dsd@...top.org, sfr@...b.auug.org.au, tglx@...utronix.de,
randy.dunlap@...cle.com, mingo@...e.hu
Subject: [tip:x86/olpc] x86, olpc: XO-1 uses/depends on PCI
Commit-ID: 9e9006e9090dc1f88d5127cb69f416013e7ecd60
Gitweb: http://git.kernel.org/tip/9e9006e9090dc1f88d5127cb69f416013e7ecd60
Author: Randy Dunlap <randy.dunlap@...cle.com>
AuthorDate: Thu, 14 Oct 2010 10:13:13 -0700
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Fri, 15 Oct 2010 09:41:38 +0200
x86, olpc: XO-1 uses/depends on PCI
olpc-xo1 uses pci_*() interfaces so it should depend on PCI.
Otherwise we get build failure like:
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>
Acked-by: Daniel Drake <dsd@...top.org>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>
LKML-Reference: <20101014101313.adf7eb2a.randy.dunlap@...cle.com>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
arch/x86/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 0bcb876..c010b8d 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2068,7 +2068,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