summaryrefslogtreecommitdiff
path: root/src/southbridge/via
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-12-10 09:03:17 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-06-25 05:43:18 +0200
commit207880cd1127acd6f5f0f2241d753aa6b1c39da0 (patch)
tree1cde460683323d1e8aa036447cf237c2360aeec9 /src/southbridge/via
parent206f37043ed4c8581c7351399c267434653ec13b (diff)
downloadcoreboot-207880cd1127acd6f5f0f2241d753aa6b1c39da0.tar.xz
Declare acpi_is_wakeup_early() only once
Change-Id: I5314d76168c40a6327d4a9ac3b4f4fb05497d6fc Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/4525 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/southbridge/via')
-rw-r--r--src/southbridge/via/vt8237r/early_smbus.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/southbridge/via/vt8237r/early_smbus.c b/src/southbridge/via/vt8237r/early_smbus.c
index b41e1ad925..02235005e5 100644
--- a/src/southbridge/via/vt8237r/early_smbus.c
+++ b/src/southbridge/via/vt8237r/early_smbus.c
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#if !defined(__ROMCC__)
+#include <arch/acpi.h>
+#endif
#include <device/pci_ids.h>
#include <spd.h>
#include <stdlib.h>
@@ -328,7 +331,8 @@ void enable_rom_decode(void)
}
#if CONFIG_HAVE_ACPI_RESUME
-static int acpi_is_wakeup_early(void) {
+int acpi_is_wakeup_early(void)
+{
device_t dev;
u16 tmp;