mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
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>
This commit is contained in:
@@ -540,8 +540,8 @@ int drv_usb_kbd_init(void)
|
||||
debug("%s: Probing for keyboard\n", __func__);
|
||||
#ifdef CONFIG_DM_USB
|
||||
/*
|
||||
* TODO: We should add USB_DEVICE() declarations to each USB ethernet
|
||||
* driver and then most of this file can be removed.
|
||||
* TODO: We should add U_BOOT_USB_DEVICE() declarations to each USB
|
||||
* keyboard driver and then most of this file can be removed.
|
||||
*/
|
||||
struct udevice *bus;
|
||||
struct uclass *uc;
|
||||
|
Reference in New Issue
Block a user