diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-01-04 13:00:02 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-01-07 18:40:20 +0000 |
commit | bb5b9fee8c49867d7c933b675aa4cfe2d2ae2c13 (patch) | |
tree | e0261e2590ef3df2aedd549a735d2dc0ada2762b /src/include/pc80 | |
parent | a581166820dc6e9600670936a5d4a01987074d1d (diff) | |
download | coreboot-bb5b9fee8c49867d7c933b675aa4cfe2d2ae2c13.tar.xz |
drivers/pc80/rtc: Remove stub for cmos_post_init()
We only have a single call-site for this.
Change-Id: Ia05a762691351b37cc59b39222fec737b29e913c
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38181
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include/pc80')
-rw-r--r-- | src/include/pc80/mc146818rtc.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h index 306322654e..00606d4017 100644 --- a/src/include/pc80/mc146818rtc.h +++ b/src/include/pc80/mc146818rtc.h @@ -211,10 +211,8 @@ enum cb_err get_option(void *dest, const char *name); #define CMOS_POST_EXTRA_DEV_PATH 0x01 void cmos_post_log(void); -void cmos_post_init(void); #else static inline void cmos_post_log(void) {} -static inline void cmos_post_init(void) {} #endif /* CONFIG_CMOS_POST */ #if CONFIG(USE_OPTION_TABLE) @@ -224,8 +222,9 @@ static inline void sanitize_cmos(void) {} #endif /* CONFIG_USE_OPTION_TABLE */ #else /* !CONFIG_ARCH_X86 */ -static inline void cmos_post_init(void) {} static inline void sanitize_cmos(void) {} #endif /* CONFIG_ARCH_X86 */ +void cmos_post_init(void); + #endif /* PC80_MC146818RTC_H */ |