diff options
| author | matt <matt@NetBSD.org> | 2013-10-28 17:40:43 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2013-10-28 17:40:43 +0000 |
| commit | 2986fa392ec520bd472b2eae530401052b2a6450 (patch) | |
| tree | c28afad3f9ffcbb407763ed62f669996db04683d /sys/dev/usb | |
| parent | 4ad3d9c2599ffeb6d70c9e9eb6fcf4558424514e (diff) | |
Add an explicit initialization of .new_device = NULL
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/ehci.c | 5 | ||||
| -rw-r--r-- | sys/dev/usb/ohci.c | 5 | ||||
| -rw-r--r-- | sys/dev/usb/uhci.c | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index 23ab2a07ca4..27c9c61468e 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ehci.c,v 1.212 2013/09/12 19:53:41 martin Exp $ */ +/* $NetBSD: ehci.c,v 1.213 2013/10/28 17:40:43 matt Exp $ */ /* * Copyright (c) 2004-2012 The NetBSD Foundation, Inc. @@ -53,7 +53,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.212 2013/09/12 19:53:41 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.213 2013/10/28 17:40:43 matt Exp $"); #include "ohci.h" #include "uhci.h" @@ -267,6 +267,7 @@ Static const struct usbd_bus_methods ehci_bus_methods = { .allocx = ehci_allocx, .freex = ehci_freex, .get_lock = ehci_get_lock, + .new_device = NULL, }; Static const struct usbd_pipe_methods ehci_root_ctrl_methods = { diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index ccb55ff1e8d..306524d7985 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ohci.c,v 1.243 2013/09/15 09:16:21 martin Exp $ */ +/* $NetBSD: ohci.c,v 1.244 2013/10/28 17:40:43 matt Exp $ */ /* * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.243 2013/09/15 09:16:21 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.244 2013/10/28 17:40:43 matt Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -259,6 +259,7 @@ Static const struct usbd_bus_methods ohci_bus_methods = { .allocx = ohci_allocx, .freex = ohci_freex, .get_lock = ohci_get_lock, + .new_device = NULL, }; Static const struct usbd_pipe_methods ohci_root_ctrl_methods = { diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 8253b254454..5c16e0f5d2f 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -1,4 +1,4 @@ -/* $NetBSD: uhci.c,v 1.261 2013/09/29 07:28:20 skrll Exp $ */ +/* $NetBSD: uhci.c,v 1.262 2013/10/28 17:40:43 matt Exp $ */ /* * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.261 2013/09/29 07:28:20 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.262 2013/10/28 17:40:43 matt Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -291,6 +291,7 @@ const struct usbd_bus_methods uhci_bus_methods = { .allocx = uhci_allocx, .freex = uhci_freex, .get_lock = uhci_get_lock, + .new_device = NULL, }; const struct usbd_pipe_methods uhci_root_ctrl_methods = { |
