summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
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/macintosh
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/macintosh')
-rw-r--r--drivers/macintosh/therm_windtunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c
index 5452da1..7c57e7a 100644
--- a/drivers/macintosh/therm_windtunnel.c
+++ b/drivers/macintosh/therm_windtunnel.c
@@ -52,7 +52,7 @@
static int do_probe( struct i2c_adapter *adapter, int addr, int kind);
/* scan 0x48-0x4f (DS1775) and 0x2c-2x2f (ADM1030) */
-static unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b,
+static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b,
0x4c, 0x4d, 0x4e, 0x4f,
0x2c, 0x2d, 0x2e, 0x2f,
I2C_CLIENT_END };
OpenPOWER on IntegriCloud