diff options
| author | 2013-04-15 09:23:00 +0000 | |
|---|---|---|
| committer | 2013-04-15 09:23:00 +0000 | |
| commit | ab0b1be78a33b04be9f7ec4a3d24ce14843759cb (patch) | |
| tree | 343ff963916dade5930d4d0d64b50d04d9a15f9d /sys/dev/usb/udl.c | |
| parent | Revert r1.37 now that we stop after the first matching protocol, tested (diff) | |
| download | wireguard-openbsd-ab0b1be78a33b04be9f7ec4a3d24ce14843759cb.tar.xz wireguard-openbsd-ab0b1be78a33b04be9f7ec4a3d24ce14843759cb.zip | |
Get rid of various 'typedef struct' definitions and use plain structure
definitions instead. We don't change usb.h for now to stay compatible
with userland.
Tested by mpi@ on macppc and myself on i386.
ok mpi@
Diffstat (limited to 'sys/dev/usb/udl.c')
| -rw-r--r-- | sys/dev/usb/udl.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c index d3f831a3de0..a8a966e3e71 100644 --- a/sys/dev/usb/udl.c +++ b/sys/dev/usb/udl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udl.c,v 1.72 2013/03/28 03:58:03 tedu Exp $ */ +/* $OpenBSD: udl.c,v 1.73 2013/04/15 09:23:02 mglocker Exp $ */ /* * Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org> @@ -134,8 +134,7 @@ void udl_cmd_write_reg_1(struct udl_softc *, uint8_t, uint8_t); void udl_cmd_write_reg_3(struct udl_softc *, uint8_t, uint32_t); usbd_status udl_cmd_send(struct udl_softc *); usbd_status udl_cmd_send_async(struct udl_softc *); -void udl_cmd_send_async_cb(usbd_xfer_handle, usbd_private_handle, - usbd_status); +void udl_cmd_send_async_cb(struct usbd_xfer *, void *, usbd_status); usbd_status udl_init_chip(struct udl_softc *); void udl_init_fb_offsets(struct udl_softc *, uint32_t, uint32_t, @@ -1852,8 +1851,7 @@ udl_cmd_send_async(struct udl_softc *sc) } void -udl_cmd_send_async_cb(usbd_xfer_handle xfer, usbd_private_handle priv, - usbd_status status) +udl_cmd_send_async_cb(struct usbd_xfer *xfer, void *priv, usbd_status status) { struct udl_cmd_xfer *cx = priv; struct udl_softc *sc = cx->sc; |
