summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-20 21:19:06 +1000
committerPatrick Georgi <patrick@georgi-clan.de>2014-06-25 11:32:24 +0200
commit6c99250c3fb97ccaa03d4f0c158caffdc53ff995 (patch)
treedd33957e10bfc874b24c74131a01f7da0defd3b4 /src/device
parent618ddfeea557f076fb38f21671dcabe34411f583 (diff)
downloadcoreboot-6c99250c3fb97ccaa03d4f0c158caffdc53ff995.tar.xz
device/pci_device.c: Sanitize headers
Change-Id: I6254f4ab767952cc8ff31bb462c7037b027442ba Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6079 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/pci_device.c30
1 files changed, 8 insertions, 22 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index f262586232..8351e9ca63 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -24,39 +24,25 @@
* Copyright 1997 -- 1999 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
*/
-#include <kconfig.h>
+#include <arch/acpi.h>
+#include <arch/io.h>
+#include <bootmode.h>
#include <console/console.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
-#include <arch/io.h>
-#include <arch/acpi.h>
+#include <delay.h>
+#include <device/agp.h>
+#include <device/cardbus.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include <bootmode.h>
-#include <delay.h>
-#if CONFIG_HYPERTRANSPORT_PLUGIN_SUPPORT
-#include <device/hypertransport.h>
-#endif
-#if CONFIG_PCIX_PLUGIN_SUPPORT
#include <device/pcix.h>
-#endif
-#if CONFIG_PCIEXP_PLUGIN_SUPPORT
#include <device/pciexp.h>
-#endif
-#if CONFIG_AGP_PLUGIN_SUPPORT
-#include <device/agp.h>
-#endif
-#if CONFIG_CARDBUS_PLUGIN_SUPPORT
-#include <device/cardbus.h>
-#endif
-#if CONFIG_PC80_SYSTEM
+#include <device/hypertransport.h>
#include <pc80/i8259.h>
-#endif
-#if CONFIG_CHROMEOS
+#include <kconfig.h>
#include <vendorcode/google/chromeos/chromeos.h>
-#endif
u8 pci_moving_config8(struct device *dev, unsigned int reg)
{