aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/google/chromeos/fmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/google/chromeos/fmap.c')
-rw-r--r--src/vendorcode/google/chromeos/fmap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vendorcode/google/chromeos/fmap.c b/src/vendorcode/google/chromeos/fmap.c
index d758f57a20..a8425c0d10 100644
--- a/src/vendorcode/google/chromeos/fmap.c
+++ b/src/vendorcode/google/chromeos/fmap.c
@@ -92,10 +92,7 @@ const struct fmap_area *find_fmap_area(const struct fmap *fmap,
int find_fmap_entry(const char name[], void **pointer)
{
-#ifndef __PRE_RAM__
- static
-#endif
- const struct fmap *fmap = NULL;
+ MAYBE_STATIC const struct fmap *fmap = NULL;
const struct fmap_area *area;
void *base = NULL;