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/video/fbdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/video/fbdev.c') diff --git a/sys/dev/video/fbdev.c b/sys/dev/video/fbdev.c index 8a2499d..6b1c6c8 100644 --- a/sys/dev/video/fbdev.c +++ b/sys/dev/video/fbdev.c @@ -135,4 +135,4 @@ static const struct ctlops fb_size_ctl = { .write = NULL, }; -DRIVER_EXPORT(fbdev_init); +DRIVER_EXPORT(fbdev_init, "fbdev"); -- cgit v1.2.3