From da416f89861a681e151d48726bbf0e6699b7ebff Mon Sep 17 00:00:00 2001 From: Corey Osgood Date: Sat, 20 Dec 2008 21:07:20 +0000 Subject: [PATCH] Fix dell/s1850 broken in r3822, and prepare it for implicit declaration error patch. Signed-off-by: Corey Osgood Acked-by: Corey Osgood git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3828 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/dell/s1850/reset.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mainboard/dell/s1850/reset.c b/src/mainboard/dell/s1850/reset.c index cf9e3d8d69..28a019a7d9 100644 --- a/src/mainboard/dell/s1850/reset.c +++ b/src/mainboard/dell/s1850/reset.c @@ -1,9 +1,9 @@ #include -#include + #include #include #ifndef __ROMCC__ -#include +#include #define PCI_ID(VENDOR_ID, DEVICE_ID) \ ((((DEVICE_ID) & 0xFFFF) << 16) | ((VENDOR_ID) & 0xFFFF)) #define PCI_DEV_INVALID 0 @@ -12,6 +12,8 @@ static inline device_t pci_locate_device(unsigned pci_id, device_t from) { return dev_find_device(pci_id >> 16, pci_id & 0xffff, from); } +#else +#include #endif void soft_reset(void)