aboutsummaryrefslogtreecommitdiff
path: root/drivers/xen/hypervisor.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/hypervisor.c')
-rw-r--r--drivers/xen/hypervisor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/xen/hypervisor.c b/drivers/xen/hypervisor.c
index 178c206..2560894 100644
--- a/drivers/xen/hypervisor.c
+++ b/drivers/xen/hypervisor.c
@@ -232,7 +232,7 @@ void clear_evtchn(uint32_t port)
synch_clear_bit(port, &s->evtchn_pending[0]);
}
-void xen_init(void)
+int xen_init(void)
{
debug("%s\n", __func__);
@@ -240,6 +240,8 @@ void xen_init(void)
init_events();
init_xenbus();
init_gnttab();
+
+ return 0;
}
void xen_fini(void)