summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-01-27 18:14:47 +0100
committerJean Delvare <khali@hyperion.delvare>2008-01-27 18:14:47 +0100
commit2cdddeb8d7dd42dc1847b110228a626d25a1e468 (patch)
treeb349ef86c00f4fd732266dfe6dea2fd8b74a1c52 /drivers/w1
parent922539a0a3c44e3b8dcf1025910f08e1940ba49f (diff)
downloadop-kernel-dev-2cdddeb8d7dd42dc1847b110228a626d25a1e468.zip
op-kernel-dev-2cdddeb8d7dd42dc1847b110228a626d25a1e468.tar.gz
i2c: normal_i2c can be made const (remaining drivers)
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/w1')
-rw-r--r--drivers/w1/masters/ds2482.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/masters/ds2482.c b/drivers/w1/masters/ds2482.c
index d93eb62..0fd5820 100644
--- a/drivers/w1/masters/ds2482.c
+++ b/drivers/w1/masters/ds2482.c
@@ -29,7 +29,7 @@
* However, the chip cannot be detected without doing an i2c write,
* so use the force module parameter.
*/
-static unsigned short normal_i2c[] = {I2C_CLIENT_END};
+static const unsigned short normal_i2c[] = { I2C_CLIENT_END };
/**
* Insmod parameters
OpenPOWER on IntegriCloud