From 5fd13056d2bdd062adb8d7fc45d5ab8a02dd466e Mon Sep 17 00:00:00 2001 From: skrll Date: Sat, 30 May 2015 06:10:38 +0000 Subject: Add missing KERNHIST_LINK_STATIC(usbhist). Pointed out by t-hash. --- sys/dev/usb/usb.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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 -__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"); -- cgit