]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
fpga: zynqmp: Fix coding style in fpga driver
authorMichal Simek <michal.simek@xilinx.com>
Fri, 2 Sep 2016 07:50:47 +0000 (09:50 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 26 Oct 2016 07:13:57 +0000 (09:13 +0200)
Trivial changes.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/fpga/zynqmppl.c

index b5492d42e03a14abc481c29cd96ecad3e3dc91f0..23039c3eb2d85fb453d1a953c1ff186df58a1b21 100644 (file)
@@ -220,9 +220,9 @@ static int zynqmp_load(xilinx_desc *desc, const void *buf, size_t bsize,
        flush_dcache_range(bin_buf, bin_buf + bsize);
 
        if (bsize % 4)
-               bsize = bsize/4 + 1;
+               bsize = bsize / 4 + 1;
        else
-               bsize = bsize/4;
+               bsize = bsize / 4;
 
        flags = (u32)bsize | ((u64)bstype << 32);