Skip to content

Commit

Permalink
Input: xen-kbdfront - enable driver for HVM guests
Browse files Browse the repository at this point in the history
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Stefano Stabellini authored and Dmitry Torokhov committed Jul 5, 2011
1 parent b514d4f commit 5f098ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/misc/xen-kbdfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 5f098ec

Please sign in to comment.