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/phy/rtl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/phy/rtl.c') diff --git a/sys/dev/phy/rtl.c b/sys/dev/phy/rtl.c index 691f767..d096d1a 100644 --- a/sys/dev/phy/rtl.c +++ b/sys/dev/phy/rtl.c @@ -440,4 +440,4 @@ rt81xx_init(void) return rt_init_mac(); } -DRIVER_DEFER(rt81xx_init); +DRIVER_DEFER(rt81xx_init, "rtl81xx"); -- cgit v1.2.3