svn commit: r193315 - head/sys/dev/usb/input

Andrew Thompson thompsa at FreeBSD.org
Tue Jun 2 17:29:16 UTC 2009


Author: thompsa
Date: Tue Jun  2 17:29:15 2009
New Revision: 193315
URL: http://svn.freebsd.org/changeset/base/193315

Log:
  Staticize ukbd_detach and fix indentation.
  
  Submitted by:	Sylvestre Gallon

Modified:
  head/sys/dev/usb/input/ukbd.c

Modified: head/sys/dev/usb/input/ukbd.c
==============================================================================
--- head/sys/dev/usb/input/ukbd.c	Tue Jun  2 17:27:54 2009	(r193314)
+++ head/sys/dev/usb/input/ukbd.c	Tue Jun  2 17:29:15 2009	(r193315)
@@ -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:


More information about the svn-src-head mailing list