From: Stefano Stabellini Date: Tue, 5 Jul 2011 02:22:00 +0000 (-0700) Subject: Input: xen-kbdfront - enable driver for HVM guests X-Git-Tag: MMI-PSA29.97-13-9~4395^2~1582 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5f098ecd4288333d87e2293239fab1c13ec90dae;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Input: xen-kbdfront - enable driver for HVM guests Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/misc/xen-kbdfront.c b/drivers/input/misc/xen-kbdfront.c index 62bae99424e6..ad2e51c04db8 100644 --- a/drivers/input/misc/xen-kbdfront.c +++ b/drivers/input/misc/xen-kbdfront.c @@ -373,7 +373,7 @@ static struct xenbus_driver xenkbd_driver = { static int __init xenkbd_init(void) { - if (!xen_pv_domain()) + if (!xen_domain()) return -ENODEV; /* Nothing to do if running in dom0. */