diff options
author | Simon Glass <sjg@chromium.org> | 2015-07-07 01:47:51 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-22 02:39:40 +0300 |
commit | abb59cffcf2094cf1e2c9e44333df1c51f623e1e (patch) | |
tree | 082c954c380ffc88364f2fd09081038ba18f0d52 /drivers/usb/Kconfig | |
parent | c8c2797c381054beaf3de89027af92a0b84b36cc (diff) | |
download | u-boot-abb59cffcf2094cf1e2c9e44333df1c51f623e1e.tar.xz |
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>
Diffstat (limited to 'drivers/usb/Kconfig')
-rw-r--r-- | drivers/usb/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig index 637ef3d567..3fa5b2e37e 100644 --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig @@ -46,8 +46,8 @@ config DM_USB Much of the code is shared but with this option enabled the USB uclass takes care of device enumeration. USB devices can be - declared with the USB_DEVICE() macro and will be automatically - probed when found on the bus. + declared with the U_BOOT_USB_DEVICE() macro and will be + automatically probed when found on the bus. source "drivers/usb/host/Kconfig" |