staging: unisys: visorinput: change input bus type to BUS_VIRTUAL (6)
authorTim Sell <Timothy.Sell@unisys.com>
Fri, 2 Oct 2015 17:19:22 +0000 (13:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 08:53:34 +0000 (09:53 +0100)
BUS_HOST wasn't really appropriate, so I changed to BUS_VIRTUAL, which is
what virtio uses.

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorinput/visorinput.c

index adc2cc90aef33d75424f906929850690fba55e52..d47cc2b643f8b799e207c74ca8b0ca7f472d6a63 100644 (file)
@@ -234,7 +234,7 @@ register_client_keyboard(unsigned char *keycode_table)
 
        visorinput_dev->name = "visor Keyboard";
        visorinput_dev->phys = "visorkbd:input0";
-       visorinput_dev->id.bustype = BUS_HOST;
+       visorinput_dev->id.bustype = BUS_VIRTUAL;
        visorinput_dev->id.vendor = 0x0001;
        visorinput_dev->id.product = 0x0001;
        visorinput_dev->id.version = 0x0100;
@@ -277,7 +277,7 @@ register_client_mouse(void)
 
        visorinput_dev->name = "visor Mouse";
        visorinput_dev->phys = "visormou:input0";
-       visorinput_dev->id.bustype = BUS_HOST;
+       visorinput_dev->id.bustype = BUS_VIRTUAL;
        visorinput_dev->id.vendor = 0x0001;
        visorinput_dev->id.product = 0x0002;
        visorinput_dev->id.version = 0x0100;