[PATCH 11/20] dpaa: Disable unused bman_pool members

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jan 19 13:54:01 UTC 2018


---
 linux/drivers/soc/fsl/qbman/bman.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/linux/drivers/soc/fsl/qbman/bman.c b/linux/drivers/soc/fsl/qbman/bman.c
index fec101c8a..44e4ee4b7 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);
-- 
2.12.3



More information about the devel mailing list