diff options
author | Gabe Black <gabeblack@google.com> | 2011-05-23 21:20:02 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-24 10:05:07 -0700 |
commit | e5ffa09a4a7b922628dd20898334303ad929f4b5 (patch) | |
tree | b74e4b324484d5f96c9fd59d4f0b8cd9d258d921 /include/bootstage.h | |
parent | 080d1da57e7411a7970e2831e668f95624ba528d (diff) |
Fix some warnings related to bootstage_mark.
Make bootstage_mark specify a return type and actually return a value even
when a dummy version is being used.
BUG=chrome-os-partner:3905
TEST=Built coreboot u-boot.
Signed-off-by: Gabe Black <gabeblack@google.com>
Change-Id: Iee63e7d8ffbca372fb3bb083ce8db547ea6e4327
Reviewed-on: http://gerrit.chromium.org/gerrit/2019
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'include/bootstage.h')
-rw-r--r-- | include/bootstage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bootstage.h b/include/bootstage.h index ade5a13999..7838230ddd 100644 --- a/include/bootstage.h +++ b/include/bootstage.h @@ -61,8 +61,8 @@ void bootstage_report(void); #else -static inline bootstage_mark(enum bootstage_id id, const char *name) -{} +static inline uint32_t bootstage_mark(enum bootstage_id id, const char *name) +{ return 0; } #endif |