diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-03-20 23:12:14 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-03-20 23:12:14 +0000 |
commit | 8755859a432244c0035dc97a1ee4813835577389 (patch) | |
tree | 3033567942b232e2dd3b416b9ea983de102b02a5 /sys/dev/usb/usb_bus.h | |
parent | d891ddcaeae41608163fe991b8fada5ab8d577af (diff) | |
download | src-8755859a432244c0035dc97a1ee4813835577389.tar.gz src-8755859a432244c0035dc97a1ee4813835577389.zip |
Fix compile with USB_HAVE_BUSDMA/USB_HAVE_UGEN/USB_HAVE_STRINGS.
Submitted by: Hans Petter Selasky
Notes
Notes:
svn path=/head/; revision=190191
Diffstat (limited to 'sys/dev/usb/usb_bus.h')
-rw-r--r-- | sys/dev/usb/usb_bus.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_bus.h b/sys/dev/usb/usb_bus.h index 126b2c77bf22..8a4575fadf65 100644 --- a/sys/dev/usb/usb_bus.h +++ b/sys/dev/usb/usb_bus.h @@ -75,9 +75,10 @@ struct usb2_bus { device_t parent; device_t bdev; /* filled by HC driver */ +#if USB_HAVE_BUSDMA struct usb2_dma_parent_tag dma_parent_tag[1]; struct usb2_dma_tag dma_tags[USB_BUS_DMA_TAG_MAX]; - +#endif struct usb2_bus_methods *methods; /* filled by HC driver */ struct usb2_device **devices; |