drivers/pc80/rtc: Swap cmos_write32() parameter order
Make it consistent with the more used cmos_write(). Change-Id: I9cf643c770e9819de08dbede48b73f3d4fe15bd7 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38178 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user