aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2011-03-02 21:58:35 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-02 21:58:35 -0500
commitc9246c9022095d278082cae4e82312e69453769e (patch)
tree287d44d3cdc611999c98bfa175cb589edef64ac8
parent0f88ea5ba24f56bc0915d60bf9c859fb8952e62c (diff)
Staging: hv: hv_mouse: use proper input define for bus type
The code was so close, the bus type was in a comment, so go all the way and actually use the define here. It's as if the original author was so afraid of license issues if they referenced a define in the processed code but they felt safe to keep it in a comment. Chicken. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/hv/hv_mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index 7a14cb056e2..3773ba87dba 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/drivers/staging/hv/hv_mouse.c
@@ -922,7 +922,7 @@ static void reportdesc_callback(struct hv_device *dev, void *packet, u32 len)
922 hid_dev->ll_driver->open = mousevsc_hid_open; 922 hid_dev->ll_driver->open = mousevsc_hid_open;
923 hid_dev->ll_driver->close = mousevsc_hid_close; 923 hid_dev->ll_driver->close = mousevsc_hid_close;
924 924
925 hid_dev->bus = 0x06; /* BUS_VIRTUAL */ 925 hid_dev->bus = BUS_VIRTUAL;
926 hid_dev->vendor = input_device_ctx->device_info.vendor; 926 hid_dev->vendor = input_device_ctx->device_info.vendor;
927 hid_dev->product = input_device_ctx->device_info.product; 927 hid_dev->product = input_device_ctx->device_info.product;
928 hid_dev->version = input_device_ctx->device_info.version; 928 hid_dev->version = input_device_ctx->device_info.version;