summaryrefslogtreecommitdiff
path: root/src/pc80
diff options
context:
space:
mode:
Diffstat (limited to 'src/pc80')
-rw-r--r--src/pc80/mc146818rtc_early.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pc80/mc146818rtc_early.c b/src/pc80/mc146818rtc_early.c
index dc601ebd12..ad5a4dc638 100644
--- a/src/pc80/mc146818rtc_early.c
+++ b/src/pc80/mc146818rtc_early.c
@@ -57,14 +57,14 @@ static int cmos_chksum_valid(void)
}
-static int last_boot_normal(void)
+static inline int last_boot_normal(void)
{
unsigned char byte;
byte = cmos_read(RTC_BOOT_BYTE);
return (byte & (1 << 1));
}
-static int do_normal_boot(void)
+static inline int do_normal_boot(void)
{
unsigned char byte;
@@ -107,7 +107,7 @@ static int do_normal_boot(void)
return (byte & (1<<1));
}
-static unsigned read_option(unsigned start, unsigned size, unsigned def)
+static inline unsigned read_option(unsigned start, unsigned size, unsigned def)
{
#if CONFIG_USE_OPTION_TABLE == 1
unsigned byte;