summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-06-02 17:29:15 +0000
committerthompsa <thompsa@FreeBSD.org>2009-06-02 17:29:15 +0000
commit31080d34af91f693e27da8d38d04e10b2b65ac54 (patch)
tree1d0e020ae4c8a0b335b238badf398870a2ddbd73 /sys/dev
parent8ef48f1bd34e07570251f508963ba09411d84ff3 (diff)
downloadFreeBSD-src-31080d34af91f693e27da8d38d04e10b2b65ac54.zip
FreeBSD-src-31080d34af91f693e27da8d38d04e10b2b65ac54.tar.gz
Staticize ukbd_detach and fix indentation.
Submitted by: Sylvestre Gallon
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/input/ukbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/input/ukbd.c b/sys/dev/usb/input/ukbd.c
index 32826664..836cedf 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:
OpenPOWER on IntegriCloud