From ad8dc791ef5e2624bdf3b957c999aa8be9be291b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 22 May 2019 14:14:15 -0600 Subject: [PATCH] drivers/usbhost: Backout some overly aggressive changes made in commit to removed CONFIG_DISABLE_POLL. --- drivers/usbhost/usbhost_hidkbd.c | 6 +++--- drivers/usbhost/usbhost_hidmouse.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/usbhost/usbhost_hidkbd.c b/drivers/usbhost/usbhost_hidkbd.c index 444286df916..84e954b9413 100644 --- a/drivers/usbhost/usbhost_hidkbd.c +++ b/drivers/usbhost/usbhost_hidkbd.c @@ -80,7 +80,7 @@ /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ - + /* Configuration ************************************************************/ /* This determines how often the USB keyboard will be polled in units of @@ -344,8 +344,8 @@ static const struct usbhost_id_s g_hidkbd_id = USB_CLASS_HID, /* base */ USBHID_SUBCLASS_BOOTIF, /* subclass */ USBHID_PROTOCOL_KEYBOARD, /* proto */ - NULL, /* vid */ - NULL /* pid */ + 0, /* vid */ + 0 /* pid */ }; /* This is the USB host storage class's registry entry */ diff --git a/drivers/usbhost/usbhost_hidmouse.c b/drivers/usbhost/usbhost_hidmouse.c index ca3fd60e9ad..17f95a586bf 100644 --- a/drivers/usbhost/usbhost_hidmouse.c +++ b/drivers/usbhost/usbhost_hidmouse.c @@ -78,7 +78,7 @@ /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ - + /* Configuration ************************************************************/ /* Worker thread is needed, unfortunately, to handle some cornercase failure @@ -396,8 +396,8 @@ static const const struct usbhost_id_s g_hidmouse_id = USB_CLASS_HID, /* base */ USBHID_SUBCLASS_BOOTIF, /* subclass */ USBHID_PROTOCOL_MOUSE, /* proto */ - NULL, /* vid */ - NULL /* pid */ + 0, /* vid */ + 0 /* pid */ }; /* This is the USB host storage class's registry entry */