Skip to content

Commit

Permalink
x86, olpc: XO-1 uses/depends on PCI
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Ingo Molnar committed Oct 15, 2010
1 parent 447b1d4 commit 9e9006e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 9e9006e

Please sign in to comment.