git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpiolib: make names array and its values const
[safe/jmp/linux-2.6]
/
drivers
/
gpio
/
pca953x.c
diff --git
a/drivers/gpio/pca953x.c
b/drivers/gpio/pca953x.c
index
f156ab3
..
a2b12aa
100644
(file)
--- a/
drivers/gpio/pca953x.c
+++ b/
drivers/gpio/pca953x.c
@@
-73,7
+73,7
@@
struct pca953x_chip {
struct i2c_client *client;
struct pca953x_platform_data *dyn_pdata;
struct gpio_chip gpio_chip;
- c
har *
*names;
+ c
onst char *const
*names;
};
static int pca953x_write_reg(struct pca953x_chip *chip, int reg, uint16_t val)