drivers/usbhost: Remove duplicate const in usbhost files.

This commit is contained in:
Adam Porter 2019-06-20 06:49:56 -06:00 committed by Gregory Nutt
parent 2fcee80799
commit ac46dbbffd
6 changed files with 6 additions and 6 deletions

View file

@ -76,7 +76,7 @@ EZ80_UNUSED EQU 40h
; Define one reset handler
; 1. Disable interrupts
; 2. Dlear mixed memory mode (MADL) flag
; 2. Clear mixed memory mode (MADL) flag
; 3. jump to initialization procedure with jp.lil to set ADL
rstvector: macro

View file

@ -394,7 +394,7 @@ static bool usbhost_txempty(FAR struct uart_dev_s *uartdev);
* device.
*/
static const const struct usbhost_id_s g_id[2] =
static const struct usbhost_id_s g_id[2] =
{
{
USB_CLASS_CDC, /* base */

View file

@ -391,7 +391,7 @@ static int usbhost_poll(FAR struct file *filep, FAR struct pollfd *fds,
* device.
*/
static const const struct usbhost_id_s g_hidmouse_id =
static const struct usbhost_id_s g_hidmouse_id =
{
USB_CLASS_HID, /* base */
USBHID_SUBCLASS_BOOTIF, /* subclass */

View file

@ -190,7 +190,7 @@ static int usbhost_disconnected(FAR struct usbhost_class_s *hubclass);
* used to associate the USB host hub class to a connected USB hub.
*/
static const const struct usbhost_id_s g_id =
static const struct usbhost_id_s g_id =
{
USB_CLASS_HUB, /* base */
0, /* subclass */

View file

@ -176,7 +176,7 @@ static int usbhost_disconnected(FAR struct usbhost_class_s *usbclass);
* used to associate the USB class driver to a connected USB device.
*/
static const const struct usbhost_id_s g_id =
static const struct usbhost_id_s g_id =
{
0, /* base -- Must be one of the USB_CLASS_* definitions in usb.h */
0, /* subclass -- depends on the device */

View file

@ -266,7 +266,7 @@ static int usbhost_poll(FAR struct file *filep, FAR struct pollfd *fds,
* used to associate the USB class driver to a connected USB device.
*/
static const const struct usbhost_id_s g_xboxcontroller_id[] =
static const struct usbhost_id_s g_xboxcontroller_id[] =
{
/* XBox One classic controller */
{