summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-12 13:23:24 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-23 14:55:09 +0100
commitbdf9931603967ee174f342c363d61c3d7704529b (patch)
treeea99b976d52682dc71f73d77415373413e4c0679 /linux
parentdpaa: Remove unused configuration defines (diff)
downloadrtems-libbsd-bdf9931603967ee174f342c363d61c3d7704529b.tar.bz2
dpaa: Disable unused bman_pool members
Update #3277.
Diffstat (limited to 'linux')
-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);