hwmon: normal_i2c arrays should be const
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#define DRV_VERSION "0.3"
|
||||
|
||||
/* Addresses to scan */
|
||||
static unsigned short normal_i2c[] = { 0x28, I2C_CLIENT_END };
|
||||
static const unsigned short normal_i2c[] = { 0x28, I2C_CLIENT_END };
|
||||
/* Insmod parameters */
|
||||
I2C_CLIENT_INSMOD_3(ad7416, ad7417, ad7418);
|
||||
|
||||
|
Reference in New Issue
Block a user