Fix the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28060 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -70,14 +70,14 @@ same_time(const cmos_time *time1, const cmos_time *time2)
|
||||
static uint8
|
||||
cmos_read(uint8 addr)
|
||||
{
|
||||
return M68KPlatform::Default()->ReadRTCReg(reg);
|
||||
return M68KPlatform::Default()->ReadRTCReg(addr);
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
cmos_write(uint8 addr, uint8 data)
|
||||
{
|
||||
M68KPlatform::Default()->WriteRTCReg(reg, data);
|
||||
M68KPlatform::Default()->WriteRTCReg(addr, data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user