diff options
author | Simon Glass <sjg@chromium.org> | 2015-07-06 16:47:51 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-21 17:39:40 -0600 |
commit | abb59cffcf2094cf1e2c9e44333df1c51f623e1e (patch) | |
tree | 082c954c380ffc88364f2fd09081038ba18f0d52 /common/usb_storage.c | |
parent | c8c2797c381054beaf3de89027af92a0b84b36cc (diff) | |
download | u-boot-abb59cffcf2094cf1e2c9e44333df1c51f623e1e.tar.gz u-boot-abb59cffcf2094cf1e2c9e44333df1c51f623e1e.tar.bz2 u-boot-abb59cffcf2094cf1e2c9e44333df1c51f623e1e.zip |
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 'common/usb_storage.c')
-rw-r--r-- | common/usb_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_storage.c b/common/usb_storage.c index cc9b3e37a1..b978430408 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -1442,6 +1442,6 @@ static const struct usb_device_id mass_storage_id_table[] = { { } /* Terminating entry */ }; -USB_DEVICE(usb_mass_storage, mass_storage_id_table); +U_BOOT_USB_DEVICE(usb_mass_storage, mass_storage_id_table); #endif |