Commit 5f098ecd authored by Stefano Stabellini's avatar Stefano Stabellini Committed by Dmitry Torokhov

Input: xen-kbdfront - enable driver for HVM guests

Signed-off-by: default avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent b514d4f7
...@@ -373,7 +373,7 @@ static struct xenbus_driver xenkbd_driver = { ...@@ -373,7 +373,7 @@ static struct xenbus_driver xenkbd_driver = {
static int __init xenkbd_init(void) static int __init xenkbd_init(void)
{ {
if (!xen_pv_domain()) if (!xen_domain())
return -ENODEV; return -ENODEV;
/* Nothing to do if running in dom0. */ /* Nothing to do if running in dom0. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment