summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2015-05-30 06:10:38 +0000
committerskrll <skrll@NetBSD.org>2015-05-30 06:10:38 +0000
commit5fd13056d2bdd062adb8d7fc45d5ab8a02dd466e (patch)
tree578a3ae5460e34f509647287e3224280bc8e9230 /sys/dev/usb
parent300f60d70390cd2c4e244667048db83945024719 (diff)
Add missing KERNHIST_LINK_STATIC(usbhist). Pointed out by t-hash.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/usb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index 9854d713e16..a419973fce4 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -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 @@ usb_once_init(void)
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");