From 59674d25be5b5090e01cae7000c2065d1a0c5abd Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 5 Mar 2014 17:25:22 -0600 Subject: chromeos: fix build breakage when !CHROMEOS_RAMOOPS Needed types were being guarded by CONFIG_CHROMEOS_RAMOOPS. Expose those unconditionally. BUG=None BRANCH=None TEST=None Change-Id: Ie858c746307ad3669eab5c35bf219e1a58da2382 Signed-off-by: Aaron Durbin Reviewed-on: https://chromium-review.googlesource.com/188714 Reviewed-by: Duncan Laurie Reviewed-on: http://review.coreboot.org/5453 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- src/vendorcode/google/chromeos/chromeos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vendorcode/google/chromeos/chromeos.h b/src/vendorcode/google/chromeos/chromeos.h index 2a781effab..0af26dc8ef 100644 --- a/src/vendorcode/google/chromeos/chromeos.h +++ b/src/vendorcode/google/chromeos/chromeos.h @@ -51,10 +51,10 @@ void init_chromeos(int bootmode); int vboot_get_handoff_info(void **addr, uint32_t *size); #endif -#if CONFIG_CHROMEOS_RAMOOPS #include "gnvs.h" struct device; +#if CONFIG_CHROMEOS_RAMOOPS void chromeos_ram_oops_init(chromeos_acpi_t *chromeos); #if CONFIG_CHROMEOS_RAMOOPS_DYNAMIC static inline void chromeos_reserve_ram_oops(struct device *dev, int idx) {} -- cgit v1.2.3