projects
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure that argv[] argument pointers are not modified.
[kernel/u-boot.git]
/
drivers
/
gpio
/
pca953x.c
diff --git
a/drivers/gpio/pca953x.c
b/drivers/gpio/pca953x.c
index
e8273ee
..
d1065f4
100644
(file)
--- a/
drivers/gpio/pca953x.c
+++ b/
drivers/gpio/pca953x.c
@@
-150,7
+150,7
@@
cmd_tbl_t cmd_pca953x[] = {
#endif
};
-int do_pca953x(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_pca953x(cmd_tbl_t *cmdtp, int flag, int argc, char *
const
argv[])
{
static uint8_t chip = CONFIG_SYS_I2C_PCA953X_ADDR;
int val;