diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-10-14 13:13:13 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-10-15 03:41:38 -0400 |
commit | 9e9006e9090dc1f88d5127cb69f416013e7ecd60 (patch) | |
tree | 2fec34f807098034623fcc54ebd4fdf204a0f50f /arch/x86/Kconfig | |
parent | 447b1d43ded08c11f4f3d344b4e07e6dcddbef95 (diff) |
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@oracle.com>
Acked-by: Daniel Drake <dsd@laptop.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
LKML-Reference: <20101014101313.adf7eb2a.randy.dunlap@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 0bcb8765b1c0..c010b8d82712 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -2068,7 +2068,7 @@ config OLPC | |||
2068 | 2068 | ||
2069 | config OLPC_XO1 | 2069 | config OLPC_XO1 |
2070 | tristate "OLPC XO-1 support" | 2070 | tristate "OLPC XO-1 support" |
2071 | depends on OLPC | 2071 | depends on OLPC && PCI |
2072 | ---help--- | 2072 | ---help--- |
2073 | Add support for non-essential features of the OLPC XO-1 laptop. | 2073 | Add support for non-essential features of the OLPC XO-1 laptop. |
2074 | 2074 | ||