From 7b8b6d352fea319c2fa1d7483d26a965daec54b0 Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Tue, 2 Jun 2009 17:29:15 +0000 Subject: [PATCH] Staticize ukbd_detach and fix indentation. Submitted by: Sylvestre Gallon --- sys/dev/usb/input/ukbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/input/ukbd.c b/sys/dev/usb/input/ukbd.c index 328266646f7..836cedf771b 100644 --- a/sys/dev/usb/input/ukbd.c +++ b/sys/dev/usb/input/ukbd.c @@ -822,7 +822,7 @@ detach: return (ENXIO); /* error */ } -int +static int ukbd_detach(device_t dev) { struct ukbd_softc *sc = device_get_softc(dev); @@ -1569,7 +1569,7 @@ static int ukbd_driver_load(module_t mod, int what, void *arg) { switch (what) { - case MOD_LOAD: + case MOD_LOAD: kbd_add_driver(&ukbd_kbd_driver); break; case MOD_UNLOAD: