]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: usb: Adjust the USB_DEVICE() macro naming
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2015 22:47:51 +0000 (16:47 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:40 +0000 (17:39 -0600)
commitabb59cffcf2094cf1e2c9e44333df1c51f623e1e
tree082c954c380ffc88364f2fd09081038ba18f0d52
parentc8c2797c381054beaf3de89027af92a0b84b36cc
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>
common/usb_hub.c
common/usb_kbd.c
common/usb_storage.c
drivers/usb/Kconfig
drivers/usb/eth/usb_ether.c
include/usb.h