From 318066fbc1c53d0686bde6626a406c039ec0b8f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 12 Feb 2014 14:18:50 +0200 Subject: PCI: Guard pci.h with CONFIG_PCI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding PCI functions for romstage in pci.h breaks ARMv7 build without this. Also fix two related includes to use pci_def.h instead. Change-Id: I5291eaf6ddf5a584f50af29cf791d2ca4d9caa71 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/5199 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Aaron Durbin --- src/device/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device/device.c') diff --git a/src/device/device.c b/src/device/device.c index 9e068107d8..e068cee044 100644 --- a/src/device/device.c +++ b/src/device/device.c @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include #include -- cgit v1.2.3