summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usbf.c')
-rw-r--r--sys/dev/usb/usbf.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/usb/usbf.c b/sys/dev/usb/usbf.c
index a82cb254248..195314fc3e1 100644
--- a/sys/dev/usb/usbf.c
+++ b/sys/dev/usb/usbf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbf.c,v 1.2 2007/02/07 16:26:49 drahn Exp $ */
+/* $OpenBSD: usbf.c,v 1.3 2007/05/27 04:00:25 jsg Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -105,12 +105,14 @@ struct cfdriver usbf_cd = {
static const char * const usbrev_str[] = USBREV_STR;
-USB_MATCH(usbf)
+int
+usbf_match(struct device *parent, void *match, void *aux)
{
return UMATCH_GENERIC;
}
-USB_ATTACH(usbf)
+void
+usbf_attach(struct device *parent, struct device *self, void *aux)
{
struct usbf_softc *sc = (struct usbf_softc *)self;
int usbrev;