提交 c685ce05 编写于 作者: R Robert P. J. Day 提交者: Adrian Bunk

Correct comments in genrtc.c to refer to correct /proc file.

Correct documentation in genrtc.c to refer to the correct /proc
file that's used to export information: /proc/driver/rtc.
Signed-off-by: NRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
上级 8b60756a
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* *
* This driver allows use of the real time clock (built into * This driver allows use of the real time clock (built into
* nearly all computers) from user space. It exports the /dev/rtc * nearly all computers) from user space. It exports the /dev/rtc
* interface supporting various ioctl() and also the /proc/dev/rtc * interface supporting various ioctl() and also the /proc/driver/rtc
* pseudo-file for status information. * pseudo-file for status information.
* *
* The ioctls can be used to set the interrupt behaviour where * The ioctls can be used to set the interrupt behaviour where
...@@ -377,7 +377,7 @@ static int gen_rtc_release(struct inode *inode, struct file *file) ...@@ -377,7 +377,7 @@ static int gen_rtc_release(struct inode *inode, struct file *file)
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
/* /*
* Info exported via "/proc/rtc". * Info exported via "/proc/driver/rtc".
*/ */
static int gen_rtc_proc_output(char *buf) static int gen_rtc_proc_output(char *buf)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册