]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
misc: xilinx-sdfec: Rename xsd_ldpc
authorDerek Kiernan <Derek.Kiernan@xilinx.com>
Sun, 11 Mar 2018 21:58:54 +0000 (21:58 +0000)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 12 Mar 2018 06:58:23 +0000 (07:58 +0100)
To be more explicit.

Signed-off-by: Derek Kiernan <Derek.Kiernan@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/misc/xilinx_sdfec.c
include/uapi/misc/xilinx_sdfec.h

index 43ecd54e32fc14df70c90d29fa75ff88503aa3ed..20dcf652683f589b38c2d2cee11c747ea181139b 100644 (file)
@@ -654,7 +654,7 @@ xsdfec_qc_table_write(struct xsdfec_dev *xsdfec,
 static int
 xsdfec_add_ldpc(struct xsdfec_dev *xsdfec, void __user *arg)
 {
-       struct xsdfec_ldpc *ldpc;
+       struct xsdfec_ldpc_params *ldpc;
        int err;
 
        ldpc = kzalloc(sizeof(*ldpc), GFP_KERNEL);
index 372bf9239fc600e02e33b3faaecd117a3da63d2b..82e5dca056a5c549fe5f34f3ae92fd939ba7cb38 100644 (file)
@@ -68,7 +68,7 @@ struct xsdfec_turbo {
 };
 
 /**
- * struct xsdfec_ldpc - User data for LDPC Codes
+ * struct xsdfec_ldpc_params - User data for LDPC Codes
  * @n: Number of code word bits
  * @k: Number of information bits
  * @psize: Size of sub-matrix
@@ -92,7 +92,7 @@ struct xsdfec_turbo {
  * This structure describes the LDPC code that is passed to the driver
  * by the application.
  */
-struct xsdfec_ldpc {
+struct xsdfec_ldpc_params {
        u32 n;
        u32 k;
        u32 psize;
@@ -180,7 +180,7 @@ struct xsdfec_irq {
 /* ioctl to enable turbo params for sdfec device */
 #define XSDFEC_SET_TURBO       _IOW(XSDFEC_MAGIC, 5, struct xsdfec_turbo *)
 /* ioctl to add an LDPC code to the sdfec ldpc codes */
-#define XSDFEC_ADD_LDPC                _IOW(XSDFEC_MAGIC, 6, struct xsdfec_ldpc *)
+#define XSDFEC_ADD_LDPC                _IOW(XSDFEC_MAGIC, 6, struct xsdfec_ldpc_params *)
 /* ioctl that returns sdfec device configuration */
 #define XSDFEC_GET_CONFIG      _IOR(XSDFEC_MAGIC, 7, struct xsdfec_config *)