projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtc: constify rtc_class_ops structures
[linux-2.6-block.git]
/
drivers
/
rtc
/
rtc-stmp3xxx.c
diff --git
a/drivers/rtc/rtc-stmp3xxx.c
b/drivers/rtc/rtc-stmp3xxx.c
index e6aaaa52e7fe165383806a76ead6311df65e2433..d578e40d5a506308a76307a5050fd61552fc9420 100644
(file)
--- a/
drivers/rtc/rtc-stmp3xxx.c
+++ b/
drivers/rtc/rtc-stmp3xxx.c
@@
-231,7
+231,7
@@
static int stmp3xxx_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alm)
return 0;
}
-static struct rtc_class_ops stmp3xxx_rtc_ops = {
+static
const
struct rtc_class_ops stmp3xxx_rtc_ops = {
.alarm_irq_enable =
stmp3xxx_alarm_irq_enable,
.read_time = stmp3xxx_rtc_gettime,