summaryrefslogtreecommitdiff
path: root/sys/dev/usb/urio.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2006-09-06 23:44:25 +0000
committerWarner Losh <imp@FreeBSD.org>2006-09-06 23:44:25 +0000
commit56635f6bd3b14654919f320ebf1ef8107e44a9ac (patch)
tree2e077467ef96a921aba05ed82c82656b8e7d5369 /sys/dev/usb/urio.c
parentf455418269f8ed7e738b8b3090f9040c1edd8127 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/urio.c')
-rw-r--r--sys/dev/usb/urio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index 68efc9c19e54..79a71240d749 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -116,7 +116,7 @@ d_write_t uriowrite;
d_ioctl_t urioioctl;
-Static struct cdevsw urio_cdevsw = {
+static struct cdevsw urio_cdevsw = {
.d_version = D_VERSION,
.d_flags = D_NEEDGIANT,
.d_open = urioopen,
@@ -587,7 +587,7 @@ ret:
#if defined(__NetBSD__) || defined(__OpenBSD__)
int
-urio_activate(device_ptr_t self, enum devact act)
+urio_activate(device_t self, enum devact act)
{
struct urio_softc *sc = (struct urio_softc *)self;
@@ -671,7 +671,7 @@ USB_DETACH(urio)
#endif /* defined(__NetBSD__) || defined(__OpenBSD__) */
#if defined(__FreeBSD__)
-Static int
+static int
urio_detach(device_t self)
{
struct urio_softc *sc = device_get_softc(self);