summaryrefslogtreecommitdiff
path: root/common/cmd_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_spi.c')
-rw-r--r--common/cmd_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_spi.c b/common/cmd_spi.c
index ab7aac7..bafa217 100644
--- a/common/cmd_spi.c
+++ b/common/cmd_spi.c
@@ -63,7 +63,7 @@ static uchar din[MAX_SPI_BYTES];
* The command prints out the hexadecimal string received via SPI.
*/
-int do_spi (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_spi (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
struct spi_slave *slave;
char *cp = 0;