From 8378d14cc0f4996080e21c84491ba9b8fcb679a4 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 3 Jul 2025 17:50:35 -0400 Subject: kernel: driver: Assign names to all drivers Assign a name to each driver through the DRIVER_EXPORT() or DRIVER_DEFER() macros. This can be used for blacklisting driver startups. Signed-off-by: Ian Moffett --- sys/dev/usb/xhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/usb/xhci.c') diff --git a/sys/dev/usb/xhci.c b/sys/dev/usb/xhci.c index 46ec4af..0ccb7a0 100644 --- a/sys/dev/usb/xhci.c +++ b/sys/dev/usb/xhci.c @@ -545,4 +545,4 @@ xhci_init(void) return xhci_init_hc(&xhc); } -DRIVER_EXPORT(xhci_init); +DRIVER_EXPORT(xhci_init, "xhci"); -- cgit v1.2.3