mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86/vrtc: Use a real type for rtc_ioport_write()
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
75f920bd47
commit
334eea78a9
1 file changed
+1
-2
@@ -469,9 +469,8 @@ static void cf_check rtc_alarm_cb(void *opaque)
|
||||
spin_unlock(&s->lock);
|
||||
}
|
||||
|
||||
static int rtc_ioport_write(void *opaque, uint32_t addr, uint32_t data)
|
||||
static int rtc_ioport_write(RTCState *s, uint32_t addr, uint32_t data)
|
||||
{
|
||||
RTCState *s = opaque;
|
||||
struct domain *d = vrtc_domain(s);
|
||||
uint32_t orig;
|
||||
|
||||
|
||||