]> git.droids-corp.org - dpdk.git/blobdiff - drivers/bus/dpaa/include/fsl_qman.h
bus/dpaa: fix ARM big endian build
[dpdk.git] / drivers / bus / dpaa / include / fsl_qman.h
index 5830ad5e9e1532bc3760f184a045dea3428ab61d..691f821cd781b96513f14d70848bc7731def0e36 100644 (file)
@@ -1960,8 +1960,8 @@ static inline int qman_poll_fq_for_init(struct qman_fq *fq)
 }
 
 #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
-#define cpu_to_hw_sg(x) (x)
-#define hw_sg_to_cpu(x) (x)
+#define cpu_to_hw_sg(x)
+#define hw_sg_to_cpu(x)
 #else
 #define cpu_to_hw_sg(x)  __cpu_to_hw_sg(x)
 #define hw_sg_to_cpu(x)  __hw_sg_to_cpu(x)