summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-03 17:50:35 -0400
committerIan Moffett <ian@osmora.org>2025-07-03 17:51:02 -0400
commit8378d14cc0f4996080e21c84491ba9b8fcb679a4 (patch)
treeffbf2f0bfa473003ff1b6992fea685a2860f285f /sys/dev/usb
parent197b0ecd37e8c41015586ee9711c807b9b625b0b (diff)
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 <ian@osmora.org>
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/xhci.c2
1 files changed, 1 insertions, 1 deletions
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");