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 <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/188714
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/5453
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
Aaron Durbin 2014-03-05 17:25:22 -06:00 committed by Aaron Durbin
parent eb3c9913dc
commit 59674d25be
1 changed files with 1 additions and 1 deletions

View File

@ -51,10 +51,10 @@ void init_chromeos(int bootmode);
int vboot_get_handoff_info(void **addr, uint32_t *size); int vboot_get_handoff_info(void **addr, uint32_t *size);
#endif #endif
#if CONFIG_CHROMEOS_RAMOOPS
#include "gnvs.h" #include "gnvs.h"
struct device; struct device;
#if CONFIG_CHROMEOS_RAMOOPS
void chromeos_ram_oops_init(chromeos_acpi_t *chromeos); void chromeos_ram_oops_init(chromeos_acpi_t *chromeos);
#if CONFIG_CHROMEOS_RAMOOPS_DYNAMIC #if CONFIG_CHROMEOS_RAMOOPS_DYNAMIC
static inline void chromeos_reserve_ram_oops(struct device *dev, int idx) {} static inline void chromeos_reserve_ram_oops(struct device *dev, int idx) {}