diff options
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-ds1672.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-isl1208.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-max6900.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-pcf8563.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-pcf8583.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-x1205.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-ds1672.c b/drivers/rtc/rtc-ds1672.c index dfef1637bfb8..e0900ca678ec 100644 --- a/drivers/rtc/rtc-ds1672.c +++ b/drivers/rtc/rtc-ds1672.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #define DRV_VERSION "0.3" | 16 | #define DRV_VERSION "0.3" |
17 | 17 | ||
18 | /* Addresses to scan: none. This chip cannot be detected. */ | 18 | /* Addresses to scan: none. This chip cannot be detected. */ |
19 | static unsigned short normal_i2c[] = { I2C_CLIENT_END }; | 19 | static const unsigned short normal_i2c[] = { I2C_CLIENT_END }; |
20 | 20 | ||
21 | /* Insmod parameters */ | 21 | /* Insmod parameters */ |
22 | I2C_CLIENT_INSMOD; | 22 | I2C_CLIENT_INSMOD; |
diff --git a/drivers/rtc/rtc-isl1208.c b/drivers/rtc/rtc-isl1208.c index 1c743641b73b..725b0c73c333 100644 --- a/drivers/rtc/rtc-isl1208.c +++ b/drivers/rtc/rtc-isl1208.c | |||
@@ -61,7 +61,7 @@ | |||
61 | /* i2c configuration */ | 61 | /* i2c configuration */ |
62 | #define ISL1208_I2C_ADDR 0xde | 62 | #define ISL1208_I2C_ADDR 0xde |
63 | 63 | ||
64 | static unsigned short normal_i2c[] = { | 64 | static const unsigned short normal_i2c[] = { |
65 | ISL1208_I2C_ADDR>>1, I2C_CLIENT_END | 65 | ISL1208_I2C_ADDR>>1, I2C_CLIENT_END |
66 | }; | 66 | }; |
67 | I2C_CLIENT_INSMOD; /* defines addr_data */ | 67 | I2C_CLIENT_INSMOD; /* defines addr_data */ |
diff --git a/drivers/rtc/rtc-max6900.c b/drivers/rtc/rtc-max6900.c index a1cd448639c9..7683412970c4 100644 --- a/drivers/rtc/rtc-max6900.c +++ b/drivers/rtc/rtc-max6900.c | |||
@@ -54,7 +54,7 @@ | |||
54 | 54 | ||
55 | #define MAX6900_I2C_ADDR 0xa0 | 55 | #define MAX6900_I2C_ADDR 0xa0 |
56 | 56 | ||
57 | static unsigned short normal_i2c[] = { | 57 | static const unsigned short normal_i2c[] = { |
58 | MAX6900_I2C_ADDR >> 1, | 58 | MAX6900_I2C_ADDR >> 1, |
59 | I2C_CLIENT_END | 59 | I2C_CLIENT_END |
60 | }; | 60 | }; |
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index 0242d803ebe5..b3317fcc16c3 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c | |||
@@ -25,7 +25,7 @@ | |||
25 | * located at 0x51 will pass the validation routine due to | 25 | * located at 0x51 will pass the validation routine due to |
26 | * the way the registers are implemented. | 26 | * the way the registers are implemented. |
27 | */ | 27 | */ |
28 | static unsigned short normal_i2c[] = { I2C_CLIENT_END }; | 28 | static const unsigned short normal_i2c[] = { I2C_CLIENT_END }; |
29 | 29 | ||
30 | /* Module parameters */ | 30 | /* Module parameters */ |
31 | I2C_CLIENT_INSMOD; | 31 | I2C_CLIENT_INSMOD; |
diff --git a/drivers/rtc/rtc-pcf8583.c b/drivers/rtc/rtc-pcf8583.c index 556d0e7da35b..c973ba94c422 100644 --- a/drivers/rtc/rtc-pcf8583.c +++ b/drivers/rtc/rtc-pcf8583.c | |||
@@ -40,7 +40,7 @@ struct pcf8583 { | |||
40 | #define CTRL_ALARM 0x02 | 40 | #define CTRL_ALARM 0x02 |
41 | #define CTRL_TIMER 0x01 | 41 | #define CTRL_TIMER 0x01 |
42 | 42 | ||
43 | static unsigned short normal_i2c[] = { 0x50, I2C_CLIENT_END }; | 43 | static const unsigned short normal_i2c[] = { 0x50, I2C_CLIENT_END }; |
44 | 44 | ||
45 | /* Module parameters */ | 45 | /* Module parameters */ |
46 | I2C_CLIENT_INSMOD; | 46 | I2C_CLIENT_INSMOD; |
diff --git a/drivers/rtc/rtc-x1205.c b/drivers/rtc/rtc-x1205.c index b3fae357ca49..b90fb1866ce9 100644 --- a/drivers/rtc/rtc-x1205.c +++ b/drivers/rtc/rtc-x1205.c | |||
@@ -32,7 +32,7 @@ | |||
32 | * unknown chips, the user must explicitly set the probe parameter. | 32 | * unknown chips, the user must explicitly set the probe parameter. |
33 | */ | 33 | */ |
34 | 34 | ||
35 | static unsigned short normal_i2c[] = { I2C_CLIENT_END }; | 35 | static const unsigned short normal_i2c[] = { I2C_CLIENT_END }; |
36 | 36 | ||
37 | /* Insmod parameters */ | 37 | /* Insmod parameters */ |
38 | I2C_CLIENT_INSMOD; | 38 | I2C_CLIENT_INSMOD; |