X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=common%2Fcmd_spi.c;h=eba5fb83da4f54d66c8f64f9de9df12d252c9222;hb=216a793cc1702227fd4ad624080f585038d1fa45;hp=8c623c9fcf5a72da3fa0c324dbaabdfeb49cebb1;hpb=bfc7bea6adc46e1db2f5a5e3464d7652ed67c864;p=karo-tx-uboot.git diff --git a/common/cmd_spi.c b/common/cmd_spi.c index 8c623c9fcf..eba5fb83da 100644 --- a/common/cmd_spi.c +++ b/common/cmd_spi.c @@ -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)