patch-2.2.19 linux/Documentation/rtc.txt
Next file: linux/Documentation/s390/cds.txt
Previous file: linux/Documentation/powerpc/zImage_layout.txt
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Mar 25 11:37:29 2001
- Orig file:
v2.2.18/Documentation/rtc.txt
- Orig date:
Sun Mar 25 11:13:36 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/Documentation/rtc.txt linux/Documentation/rtc.txt
@@ -56,7 +56,7 @@
exclusive access to the device for your applications.
The alarm and/or interrupt frequency are programmed into the RTC via
-various ioctl(2) calls as listed in ./include/linux/mc146818rtc.h
+various ioctl(2) calls as listed in ./include/linux/rtc.h
Rather than write 50 pages describing the ioctl() and so on, it is
perhaps more useful to include a small test program that demonstrates
how to use them, and demonstrates the features of the driver. This is
@@ -81,7 +81,7 @@
*/
#include <stdio.h>
-#include <linux/mc146818rtc.h>
+#include <linux/rtc.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/types.h>
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)