summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-ds1672.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-01-27 20:14:47 +0300
committerJean Delvare <khali@hyperion.delvare>2008-01-27 20:14:47 +0300
commit922539a0a3c44e3b8dcf1025910f08e1940ba49f (patch)
tree3e57c826212103be9f9b09772ceb89753f328bc4 /drivers/rtc/rtc-ds1672.c
parentbfb6df24facfde7ec6191edbba798777efb3c375 (diff)
downloadlinux-922539a0a3c44e3b8dcf1025910f08e1940ba49f.tar.xz
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-ds1672.c')
-rw-r--r--drivers/rtc/rtc-ds1672.c2
1 files changed, 1 insertions, 1 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 @@
#define DRV_VERSION "0.3"
/* Addresses to scan: none. This chip cannot be detected. */
-static unsigned short normal_i2c[] = { I2C_CLIENT_END };
+static const unsigned short normal_i2c[] = { I2C_CLIENT_END };
/* Insmod parameters */
I2C_CLIENT_INSMOD;