summaryrefslogtreecommitdiffstats
path: root/linux/drivers/soc/fsl/qbman/qman_ccsr.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/soc/fsl/qbman/qman_ccsr.c')
-rw-r--r--linux/drivers/soc/fsl/qbman/qman_ccsr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/soc/fsl/qbman/qman_ccsr.c b/linux/drivers/soc/fsl/qbman/qman_ccsr.c
index cc798328..b26bfdd6 100644
--- a/linux/drivers/soc/fsl/qbman/qman_ccsr.c
+++ b/linux/drivers/soc/fsl/qbman/qman_ccsr.c
@@ -850,7 +850,6 @@ static struct platform_driver fsl_qman_driver = {
builtin_platform_driver(fsl_qman_driver);
#else /* __rtems__ */
#include <bsp/fdt.h>
-#include <bsp/qoriq.h>
SYSINIT_REFERENCE(bman);
@@ -873,7 +872,9 @@ qman_sysinit(void)
memset(&dev, 0, sizeof(dev));
dev.pdev.dev.of_node = &dev.of_node;
+#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
dev.pdev.dev.base = (uintptr_t)&qoriq;
+#endif
dev.of_node.offset = node;
dev.of_node.full_name = name;