Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Add missing KERNHIST_LINK_STATIC(usbhist). Poin...



details:   https://anonhg.NetBSD.org/src/rev/b6c735c95ee5
branches:  trunk
changeset: 808696:b6c735c95ee5
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat May 30 06:10:38 2015 +0000

description:
Add missing KERNHIST_LINK_STATIC(usbhist).  Pointed out by t-hash.

diffstat:

 sys/dev/usb/usb.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 55074cd24a62 -r b6c735c95ee5 sys/dev/usb/usb.c
--- a/sys/dev/usb/usb.c Sat May 30 00:56:42 2015 +0000
+++ b/sys/dev/usb/usb.c Sat May 30 06:10:38 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb.c,v 1.157 2015/05/28 09:06:36 skrll Exp $  */
+/*     $NetBSD: usb.c,v 1.158 2015/05/30 06:10:38 skrll Exp $  */
 
 /*
  * Copyright (c) 1998, 2002, 2008, 2012 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.157 2015/05/28 09:06:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.158 2015/05/30 06:10:38 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -277,6 +277,8 @@
        struct usb_taskq *taskq;
        int i;
 
+       KERNHIST_LINK_STATIC(usbhist);
+
        selinit(&usb_selevent);
        mutex_init(&usb_event_lock, MUTEX_DEFAULT, IPL_NONE);
        cv_init(&usb_event_cv, "usbrea");



Home | Main Index | Thread Index | Old Index