summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-06-19 14:56:35 +0000
committerdelphij <delphij@FreeBSD.org>2007-06-19 14:56:35 +0000
commitdb531f1beeff16de9d4995fdbdd98e9e942ad89b (patch)
treeb95156a1c85b222e6185755c0879c975ac776e7d
parent381c77ec16204743c9cc937439c68c0cb21ff922 (diff)
downloadFreeBSD-src-db531f1beeff16de9d4995fdbdd98e9e942ad89b.zip
FreeBSD-src-db531f1beeff16de9d4995fdbdd98e9e942ad89b.tar.gz
Fix build problem caused by a set of typos.
Reported by: tinderbox Approved by: re (mux)
-rw-r--r--sys/netgraph/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netgraph/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c b/sys/netgraph/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c
index 0d8c0b2..570344f 100644
--- a/sys/netgraph/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c
+++ b/sys/netgraph/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c
@@ -290,7 +290,7 @@ ubtbcmfw_open(struct cdev *dev, int flag, int mode, struct thread *p)
int error = 0;
/* checks for sc != NULL */
- sc = devclass_get_softc(ubtbcmfw_devclass, UBTBCMFWUNIT(dev));
+ sc = devclass_get_softc(ubtbcmfw_devclass, UBTBCMFW_UNIT(dev));
if (sc == NULL)
return (ENXIO);
if (sc->sc_dying)
@@ -342,7 +342,7 @@ ubtbcmfw_close(struct cdev *dev, int flag, int mode, struct thread *p)
{
ubtbcmfw_softc_p sc = NULL;
- sc = devclass_get_softc(ubtbcmfw_devclass, UBTBCMFWUNIT(dev));
+ sc = devclass_get_softc(ubtbcmfw_devclass, UBTBCMFW_UNIT(dev));
if (sc == NULL)
return (ENXIO);
@@ -383,7 +383,7 @@ ubtbcmfw_read(struct cdev *dev, struct uio *uio, int flag)
usbd_status err;
int n, tn, error = 0;
- sc = devclass_get_softc(ubtbcmfw_devclass, UBTBCMFWUNIT(dev));
+ sc = devclass_get_softc(ubtbcmfw_devclass, UBTBCMFW_UNIT(dev));
if (sc == NULL || sc->sc_dying)
return (ENXIO);
@@ -447,7 +447,7 @@ ubtbcmfw_write(struct cdev *dev, struct uio *uio, int flag)
usbd_status err;
int n, error = 0;
- sc = devclass_get_softc(ubtbcmfw_devclass, UBTBCMFWUNIT(dev));
+ sc = devclass_get_softc(ubtbcmfw_devclass, UBTBCMFW_UNIT(dev));
if (sc == NULL || sc->sc_dying)
return (ENXIO);
@@ -510,7 +510,7 @@ ubtbcmfw_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag,
ubtbcmfw_softc_p sc = NULL;
int error = 0;
- sc = devclass_get_softc(ubtbcmfw_devclass, UBTBCMFWUNIT(dev));
+ sc = devclass_get_softc(ubtbcmfw_devclass, UBTBCMFW_UNIT(dev));
if (sc == NULL || sc->sc_dying)
return (ENXIO);
@@ -547,7 +547,7 @@ ubtbcmfw_poll(struct cdev *dev, int events, struct thread *p)
ubtbcmfw_softc_p sc = NULL;
int revents = 0;
- sc = devclass_get_softc(ubtbcmfw_devclass, UBTBCMFWUNIT(dev));
+ sc = devclass_get_softc(ubtbcmfw_devclass, UBTBCMFW_UNIT(dev));
if (sc == NULL)
return (ENXIO);
OpenPOWER on IntegriCloud