dm: usb: Adjust the USB_DEVICE() macro naming
In Linux USB_DEVICE() is used to declare a USB device by vendor/device ID.
We should follow the same convention in U-Boot. Rename the existing
USB_DEVICE() macro to U_BOOT_USB_DEVICE() and bring in the USB_DEVICE()
macro from Linux for use in U-Boot.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Showing
- common/usb_hub.c 1 addition, 1 deletioncommon/usb_hub.c
- common/usb_kbd.c 2 additions, 2 deletionscommon/usb_kbd.c
- common/usb_storage.c 1 addition, 1 deletioncommon/usb_storage.c
- drivers/usb/Kconfig 2 additions, 2 deletionsdrivers/usb/Kconfig
- drivers/usb/eth/usb_ether.c 2 additions, 2 deletionsdrivers/usb/eth/usb_ether.c
- include/usb.h 17 additions, 1 deletioninclude/usb.h
Loading
Please register or sign in to comment