i2c: normal_i2c can be made const (rtc drivers)
Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Alessandro Zummo <alessandro.zummo@towertech.it>
This commit is contained in:

committed by
Jean Delvare

parent
bfb6df24fa
commit
922539a0a3
@@ -40,7 +40,7 @@ struct pcf8583 {
|
||||
#define CTRL_ALARM 0x02
|
||||
#define CTRL_TIMER 0x01
|
||||
|
||||
static unsigned short normal_i2c[] = { 0x50, I2C_CLIENT_END };
|
||||
static const unsigned short normal_i2c[] = { 0x50, I2C_CLIENT_END };
|
||||
|
||||
/* Module parameters */
|
||||
I2C_CLIENT_INSMOD;
|
||||
|
Reference in New Issue
Block a user