]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_spi.c
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
[karo-tx-uboot.git] / common / cmd_spi.c
index 8c623c9fcf5a72da3fa0c324dbaabdfeb49cebb1..eba5fb83da4f54d66c8f64f9de9df12d252c9222 100644 (file)
@@ -89,7 +89,7 @@ int do_spi (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                                cs = bus;
                                bus = CONFIG_DEFAULT_SPI_BUS;
                        }
-                       if (*cp == '.');
+                       if (*cp == '.')
                                mode = simple_strtoul(cp+1, NULL, 10);
                }
                if (argc >= 3)