hwmon: normal_i2c arrays should be const

Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
This commit is contained in:
Mark M. Hoffman
2008-02-17 22:28:03 -05:00
parent 57df46d6d9
commit 25e9c86d5a
41 changed files with 55 additions and 60 deletions

View File

@ -36,7 +36,8 @@
#include <linux/mutex.h>
/* Addresses to scan */
static unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, I2C_CLIENT_END };
static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b,
I2C_CLIENT_END };
/* Insmod parameters */
I2C_CLIENT_INSMOD_1(lm77);