]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MLK-9650 QSPI: imx6sx: fix QSPI build warning
authorAllen Xu <b45815@freescale.com>
Thu, 25 Sep 2014 21:08:16 +0000 (16:08 -0500)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:19:59 +0000 (21:19 -0600)
add the missed return value to fix the build warning.

Signed-off-by: Allen Xu <b45815@freescale.com>
(cherry picked from commit a4e7c495626ec3a0cbe9561fa5a22306a92ca2bf)

drivers/mtd/spi-nor/fsl-quadspi.c

index fafc8ad52f38b93672280e0fd5edd4db7b339910..27b9c4eff00577e3dc17fcf6f7f864a6d7da0c63 100644 (file)
@@ -672,7 +672,7 @@ static int fsl_qspi_clk_disable_unprep(struct fsl_qspi *q)
 {
        clk_disable_unprepare(q->clk);
        clk_disable_unprepare(q->clk_en);
-
+       return 0;
 }
 
 /* We use this function to do some basic init for spi_nor_scan(). */