summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/misc/xilinx_sdfec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/x86_64/misc/xilinx_sdfec.h')
-rw-r--r--include/arch/x86_64/misc/xilinx_sdfec.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/arch/x86_64/misc/xilinx_sdfec.h b/include/arch/x86_64/misc/xilinx_sdfec.h
index fab151e1..e480f2ee 100644
--- a/include/arch/x86_64/misc/xilinx_sdfec.h
+++ b/include/arch/x86_64/misc/xilinx_sdfec.h
@@ -22,12 +22,9 @@
#define XSDFEC_LDPC_QC_TABLE_ADDR_HIGH (0x28000)
/* LDPC tables depth */
-#define XSDFEC_SC_TABLE_DEPTH \
- (XSDFEC_LDPC_SC_TABLE_ADDR_HIGH - XSDFEC_LDPC_SC_TABLE_ADDR_BASE)
-#define XSDFEC_LA_TABLE_DEPTH \
- (XSDFEC_LDPC_LA_TABLE_ADDR_HIGH - XSDFEC_LDPC_LA_TABLE_ADDR_BASE)
-#define XSDFEC_QC_TABLE_DEPTH \
- (XSDFEC_LDPC_QC_TABLE_ADDR_HIGH - XSDFEC_LDPC_QC_TABLE_ADDR_BASE)
+#define XSDFEC_SC_TABLE_DEPTH (XSDFEC_LDPC_SC_TABLE_ADDR_HIGH - XSDFEC_LDPC_SC_TABLE_ADDR_BASE)
+#define XSDFEC_LA_TABLE_DEPTH (XSDFEC_LDPC_LA_TABLE_ADDR_HIGH - XSDFEC_LDPC_LA_TABLE_ADDR_BASE)
+#define XSDFEC_QC_TABLE_DEPTH (XSDFEC_LDPC_QC_TABLE_ADDR_HIGH - XSDFEC_LDPC_QC_TABLE_ADDR_BASE)
/**
* enum xsdfec_code - Code Type.
@@ -339,8 +336,7 @@ struct xsdfec_ldpc_param_table_sizes {
*
* - SD-FEC Code Write Protection is disabled
*/
-#define XSDFEC_ADD_LDPC_CODE_PARAMS \
- _IOW(XSDFEC_MAGIC, 5, struct xsdfec_ldpc_params)
+#define XSDFEC_ADD_LDPC_CODE_PARAMS _IOW(XSDFEC_MAGIC, 5, struct xsdfec_ldpc_params)
/**
* DOC: XSDFEC_GET_CONFIG
* @Parameters