summaryrefslogtreecommitdiffstats
path: root/linux/drivers/soc/fsl/qbman/bman.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/soc/fsl/qbman/bman.c')
-rw-r--r--linux/drivers/soc/fsl/qbman/bman.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/soc/fsl/qbman/bman.c b/linux/drivers/soc/fsl/qbman/bman.c
index fec101c8..44e4ee4b 100644
--- a/linux/drivers/soc/fsl/qbman/bman.c
+++ b/linux/drivers/soc/fsl/qbman/bman.c
@@ -228,9 +228,11 @@ static inline void put_affine_portal(void)
struct bman_pool {
/* index of the buffer pool to encapsulate (0-63) */
u32 bpid;
+#ifndef __rtems__
/* Used for hash-table admin when using depletion notifications. */
struct bman_portal *portal;
struct bman_pool *next;
+#endif /* __rtems__ */
};
static u32 poll_portal_slow(struct bman_portal *p, u32 is);