projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] mfd: SM501 core driver
[powerpc.git]
/
drivers
/
rtc
/
rtc-proc.c
diff --git
a/drivers/rtc/rtc-proc.c
b/drivers/rtc/rtc-proc.c
index
d51d8f2
..
1bd624f
100644
(file)
--- a/
drivers/rtc/rtc-proc.c
+++ b/
drivers/rtc/rtc-proc.c
@@
-65,7
+65,7
@@
static int rtc_proc_show(struct seq_file *seq, void *offset)
seq_printf(seq, "%02d\n", alrm.time.tm_mday);
else
seq_printf(seq, "**\n");
seq_printf(seq, "%02d\n", alrm.time.tm_mday);
else
seq_printf(seq, "**\n");
- seq_printf(seq, "al
rm_wakeup
\t: %s\n",
+ seq_printf(seq, "al
arm_IRQ
\t: %s\n",
alrm.enabled ? "yes" : "no");
seq_printf(seq, "alrm_pending\t: %s\n",
alrm.pending ? "yes" : "no");
alrm.enabled ? "yes" : "no");
seq_printf(seq, "alrm_pending\t: %s\n",
alrm.pending ? "yes" : "no");
@@
-96,7
+96,7
@@
static int rtc_proc_release(struct inode *inode, struct file *file)
return res;
}
return res;
}
-static struct file_operations rtc_proc_fops = {
+static
const
struct file_operations rtc_proc_fops = {
.open = rtc_proc_open,
.read = seq_read,
.llseek = seq_lseek,
.open = rtc_proc_open,
.read = seq_read,
.llseek = seq_lseek,
@@
-120,7
+120,7
@@
static int rtc_proc_add_device(struct class_device *class_dev,
ent->owner = rtc->owner;
ent->data = class_dev;
ent->owner = rtc->owner;
ent->data = class_dev;
- dev_
info
(class_dev->dev, "rtc intf: proc\n");
+ dev_
dbg
(class_dev->dev, "rtc intf: proc\n");
}
else
rtc_dev = NULL;
}
else
rtc_dev = NULL;