summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-17 11:48:36 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-19 14:51:53 +0100
commit13c409362d10bb5a570e23966581f77f6e540dbd (patch)
treead1f320598a2aeec4daf102029828bc4f089f915
parentea121a0c59373e50e0409e9158a164b9ff531cae (diff)
ehci_mpc83xx.c: Fix for qoriq hypervisor guest
-rw-r--r--rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c b/rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c
index bde80076..2b488a22 100644
--- a/rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c
+++ b/rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c
@@ -34,7 +34,8 @@
#include <bsp.h>
-#if defined(__GEN83xx_BSP_h) || defined(LIBBSP_POWERPC_QORIQ_BSP_H)
+#if defined(__GEN83xx_BSP_h) || (defined(LIBBSP_POWERPC_QORIQ_BSP_H) && \
+ !defined(QORIQ_IS_HYPERVISOR_GUEST))
#include <bsp/irq.h>
#include <bsp/utility.h>