drivers/usbhost: Remove duplicate const in usbhost files.
This commit is contained in:
parent
2fcee80799
commit
ac46dbbffd
6 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue