diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-01-27 18:14:47 +0100 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-01-27 18:14:47 +0100 |
commit | 922539a0a3c44e3b8dcf1025910f08e1940ba49f (patch) | |
tree | 3e57c826212103be9f9b09772ceb89753f328bc4 /drivers/rtc/rtc-max6900.c | |
parent | i2c: Constify client address data (diff) | |
download | linux-922539a0a3c44e3b8dcf1025910f08e1940ba49f.tar.xz linux-922539a0a3c44e3b8dcf1025910f08e1940ba49f.zip |
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>
Diffstat (limited to 'drivers/rtc/rtc-max6900.c')
-rw-r--r-- | drivers/rtc/rtc-max6900.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ #define MAX6900_I2C_ADDR 0xa0 -static unsigned short normal_i2c[] = { +static const unsigned short normal_i2c[] = { MAX6900_I2C_ADDR >> 1, I2C_CLIENT_END }; |