[PATCH 1/1] usb_kbd: remove match string
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Fri Jan 2 13:56:22 CET 2026
USB keyboards are identified via a USB interface descriptor or via USB
vendor and product IDs but never via the device-tree.
Remove the device-tree match string.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
common/usb_kbd.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/common/usb_kbd.c b/common/usb_kbd.c
index 36107a3b278..29b01a85955 100644
--- a/common/usb_kbd.c
+++ b/common/usb_kbd.c
@@ -690,15 +690,9 @@ err:
return ret;
}
-static const struct udevice_id usb_kbd_ids[] = {
- { .compatible = "usb-keyboard" },
- { }
-};
-
U_BOOT_DRIVER(usb_kbd) = {
.name = "usb_kbd",
.id = UCLASS_KEYBOARD,
- .of_match = usb_kbd_ids,
.probe = usb_kbd_probe,
.remove = usb_kbd_remove,
};
--
2.51.0
More information about the U-Boot
mailing list