summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/pc80/mc146818rtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h
index aa50773750..a8221c7259 100644
--- a/src/include/pc80/mc146818rtc.h
+++ b/src/include/pc80/mc146818rtc.h
@@ -171,7 +171,7 @@ static inline u32 cmos_read32(u8 offset)
return value;
}
-static inline void cmos_write32(u8 offset, u32 value)
+static inline void cmos_write32(u32 value, u8 offset)
{
u8 i;
for (i = 0; i < sizeof(value); ++i)