diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-04-26 17:00:29 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-04-26 17:00:29 +0000 |
commit | b70ce41c22de7e2281a07553ebb61643145ed28a (patch) | |
tree | f2692c2cfe78abcaa8479c0abca876ca3073a3ce /sys/dev/usb/uberry.c | |
parent | e74be22fa284be519fe4f94e07adf0e0ee2395cd (diff) |
USB device lists do not need a terminating sentinel, so don't provide any;
this should prevent phantom devices from attaching axe or uberry on
some machines.
ok deraadt@
Diffstat (limited to 'sys/dev/usb/uberry.c')
-rw-r--r-- | sys/dev/usb/uberry.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/usb/uberry.c b/sys/dev/usb/uberry.c index fe632c24a9f..df155a3fe61 100644 --- a/sys/dev/usb/uberry.c +++ b/sys/dev/usb/uberry.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uberry.c,v 1.2 2006/11/29 19:55:37 miod Exp $ */ +/* $OpenBSD: uberry.c,v 1.3 2007/04/26 17:00:28 miod Exp $ */ /*- * Copyright (c) 2006 Theo de Raadt <deraadt@openbsd.org> @@ -46,8 +46,7 @@ struct uberry_softc { #define UBERRY_CONFIG_NO 0 Static struct usb_devno const uberry_devices[] = { - { USB_VENDOR_RIM, USB_PRODUCT_RIM_BLACKBERRY }, - { 0, 0 } + { USB_VENDOR_RIM, USB_PRODUCT_RIM_BLACKBERRY } }; USB_DECLARE_DRIVER(uberry); |