mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-27 07:46:53 +00:00
DM USB: move the UREQ macro into common header
move the UREQ macro from usb_mouse.c to usb.h Change-Id: I977cf73291610b0448eb031a500788a397b55f88 Signed-off-by: Wu, Xiaoguang <xiaoguang.wu@intel.com> Reviewed-by: Shuo Liu <shuo.a.liu@intel.com> Reviewed-by: Yu Wang <yu1.wang@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
17d4e9a995
commit
2d1fb7e480
@ -310,8 +310,6 @@ umouse_init(void *pdata, char *opt)
|
||||
return dev;
|
||||
}
|
||||
|
||||
#define UREQ(x, y) ((x) | ((y) << 8))
|
||||
|
||||
static int
|
||||
umouse_request(void *scarg, struct usb_data_xfer *xfer)
|
||||
{
|
||||
|
@ -107,6 +107,7 @@
|
||||
|
||||
#define USB_BUS_RESET_DELAY 100 /* ms */
|
||||
|
||||
#define UREQ(x, y) ((x) | ((y) << 8))
|
||||
/*
|
||||
* USB record layout in memory:
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user