From cd1b5f757c8399726e4ababe64c7c6a53ad8373f Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 5 Mar 2014 17:25:22 -0600 Subject: [PATCH] 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 --- 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 e3b94bec69..dbbe54e348 100644 --- a/src/vendorcode/google/chromeos/chromeos.h +++ b/src/vendorcode/google/chromeos/chromeos.h @@ -61,10 +61,10 @@ static inline 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) {}