]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
cdma: xilinx: Make boolean DT properties real bools
authorSrikanth Thokala <srikanth.thokala@xilinx.com>
Fri, 20 Sep 2013 06:59:37 +0000 (12:29 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 20 Sep 2013 10:49:30 +0000 (12:49 +0200)
has_sg, has_dre and is_lite fields of channel structure are
changed to boolean type

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/dma/xilinx/xilinx_axicdma.c

index d14cbda684c312c42a1ab3e7d432bfee40510abf..5e50a116a8ca9a291c4b124d096b73e05e468f3e 100644 (file)
@@ -159,9 +159,9 @@ struct xilinx_cdma_chan {
        int id;                                 /* Channel ID */
        enum dma_transfer_direction direction;  /* Transfer direction */
        int max_len;                            /* Max data len per transfer */
-       int is_lite;                            /* Whether is light build */
-       int has_sg;                             /* Support scatter transfers */
-       int has_dre;                            /* For unaligned transfers */
+       bool is_lite;                           /* Whether is light build */
+       bool has_sg;                            /* Support scatter transfers */
+       bool has_dre;                           /* For unaligned transfers */
        int err;                                /* Channel has errors */
        struct tasklet_struct tasklet;          /* Cleanup work after irq */
        u32 feature;                            /* IP feature */