summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/at91dci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/at91dci.c')
-rw-r--r--sys/dev/usb/controller/at91dci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/at91dci.c b/sys/dev/usb/controller/at91dci.c
index 807f899..ae18c28 100644
--- a/sys/dev/usb/controller/at91dci.c
+++ b/sys/dev/usb/controller/at91dci.c
@@ -66,7 +66,7 @@ __FBSDID("$FreeBSD$");
#define AT9100_DCI_BUS2SC(bus) \
((struct at91dci_softc *)(((uint8_t *)(bus)) - \
- USB_P2U(&(((struct at91dci_softc *)0)->sc_bus))))
+ ((uint8_t *)&(((struct at91dci_softc *)0)->sc_bus))))
#define AT9100_DCI_PC2SC(pc) \
AT9100_DCI_BUS2SC(USB_DMATAG_TO_XROOT((pc)->tag_parent)->bus)
OpenPOWER on IntegriCloud