summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm90.c
diff options
context:
space:
mode:
authorMark M. Hoffman2008-02-18 04:28:03 +0100
committerMark M. Hoffman2008-02-19 03:58:15 +0100
commit25e9c86d5a6d82ea45eb680fc66bf73ac5e50dff (patch)
treeef93558823da87fa425256d9c420113641bfe119 /drivers/hwmon/lm90.c
parenthwmon: New driver for Analog Devices ADT7473 sensor chip (diff)
downloadkernel-qcow2-linux-25e9c86d5a6d82ea45eb680fc66bf73ac5e50dff.tar.gz
kernel-qcow2-linux-25e9c86d5a6d82ea45eb680fc66bf73ac5e50dff.tar.xz
kernel-qcow2-linux-25e9c86d5a6d82ea45eb680fc66bf73ac5e50dff.zip
hwmon: normal_i2c arrays should be const
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'drivers/hwmon/lm90.c')
-rw-r--r--drivers/hwmon/lm90.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c
index f7ec95bedbf6..d1a3da3dd8e0 100644
--- a/drivers/hwmon/lm90.c
+++ b/drivers/hwmon/lm90.c
@@ -101,10 +101,8 @@
* 0x4c, 0x4d or 0x4e.
*/
-static unsigned short normal_i2c[] = { 0x18, 0x19, 0x1a,
- 0x29, 0x2a, 0x2b,
- 0x4c, 0x4d, 0x4e,
- I2C_CLIENT_END };
+static const unsigned short normal_i2c[] = {
+ 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x4c, 0x4d, 0x4e, I2C_CLIENT_END };
/*
* Insmod parameters