summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>1999-06-01 07:22:01 +0000
committern_hibma <n_hibma@FreeBSD.org>1999-06-01 07:22:01 +0000
commit327b9c7ba334e7fe6cc93086bd750078d56f73fa (patch)
tree70ee63b21399841d479ee826e0af473f9b2f19c1 /sys/dev/usb/usb.c
parentff89b648a61d1c6395bd3371ea371da64ad79f6c (diff)
downloadFreeBSD-src-327b9c7ba334e7fe6cc93086bd750078d56f73fa.zip
FreeBSD-src-327b9c7ba334e7fe6cc93086bd750078d56f73fa.tar.gz
USB stopped working as of the recent cdevsw cleanup. This fixes that.
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r--sys/dev/usb/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index 3119ca9..9165a4f 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -129,7 +129,7 @@ struct cdevsw usb_cdevsw = {
/* strategy */ nostrategy,
/* name */ "usb",
/* parms */ noparms,
- /* maj */ -1,
+ /* maj */ USB_CDEV_MAJOR,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
OpenPOWER on IntegriCloud