summaryrefslogtreecommitdiff
path: root/sys/dev/fb/fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fb/fb.c')
-rw-r--r--sys/dev/fb/fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/fb/fb.c b/sys/dev/fb/fb.c
index 38b967092795..0878feb299d0 100644
--- a/sys/dev/fb/fb.c
+++ b/sys/dev/fb/fb.c
@@ -386,6 +386,8 @@ fb_modevent(module_t mod, int type, void *data)
case MOD_UNLOAD:
printf("fb module unload - not possible for this module type\n");
return EINVAL;
+ default:
+ return EOPNOTSUPP;
}
return 0;
}