x86, olpc: XO-1 uses/depends on PCI
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 14 Oct 2010 17:13:13 +0000 (10:13 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 15 Oct 2010 07:41:38 +0000 (09:41 +0200)
commit9e9006e9090dc1f88d5127cb69f416013e7ecd60
tree2fec34f807098034623fcc54ebd4fdf204a0f50f
parent447b1d43ded08c11f4f3d344b4e07e6dcddbef95
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>
arch/x86/Kconfig