summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/uss820dci.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-03-20 21:48:11 +0000
committerthompsa <thompsa@FreeBSD.org>2009-03-20 21:48:11 +0000
commite14295c787e7990fac7af1c1f196f279396b88a7 (patch)
tree5f5d9b7cd28551f4f3923401f6ffea491e559c3b /sys/dev/usb/controller/uss820dci.c
parent79aaac6e7b4553e4799500d20a8d63ea337b8925 (diff)
downloadFreeBSD-src-e14295c787e7990fac7af1c1f196f279396b88a7.zip
FreeBSD-src-e14295c787e7990fac7af1c1f196f279396b88a7.tar.gz
MFp4 //depot/projects/usb@159392
Add ifdefs for making parts of usb conditional. Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/controller/uss820dci.c')
-rw-r--r--sys/dev/usb/controller/uss820dci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/uss820dci.c b/sys/dev/usb/controller/uss820dci.c
index 8e1e2bc..a5144ca 100644
--- a/sys/dev/usb/controller/uss820dci.c
+++ b/sys/dev/usb/controller/uss820dci.c
@@ -58,7 +58,7 @@
USB_P2U(&(((struct uss820dci_softc *)0)->sc_bus))))
#define USS820_DCI_PC2SC(pc) \
- USS820_DCI_BUS2SC((pc)->tag_parent->info->bus)
+ USS820_DCI_BUS2SC(USB_DMATAG_TO_XROOT((pc)->tag_parent)->bus)
#if USB_DEBUG
static int uss820dcidebug = 0;
OpenPOWER on IntegriCloud