diff options
author | Karel Zak | 2007-03-19 10:14:13 +0100 |
---|---|---|
committer | Karel Zak | 2007-03-19 10:14:13 +0100 |
commit | 88681c5f1afe724ca914a7202225e6e640d37222 (patch) | |
tree | 491491a942c1b0c1942397a43cd258382eabc645 /hwclock/clock.h | |
parent | docs: fix URL and typos in README.devel (diff) | |
download | kernel-qcow2-util-linux-88681c5f1afe724ca914a7202225e6e640d37222.tar.gz kernel-qcow2-util-linux-88681c5f1afe724ca914a7202225e6e640d37222.tar.xz kernel-qcow2-util-linux-88681c5f1afe724ca914a7202225e6e640d37222.zip |
hwclock: add --rtc=<path> option and support for /dev/rtc0
The patch to allow "hwclock --rtc /dev/rtc1" and so on,
since "/dev/rtc" may not be there and "/dev/rtc0" may not be
the right answer either.
The "--rtc" is compatible with next Bryan Henderson's hwclock
versions.
Signed-off-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'hwclock/clock.h')
-rw-r--r-- | hwclock/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hwclock/clock.h b/hwclock/clock.h index 91d3df801..f1d00e493 100644 --- a/hwclock/clock.h +++ b/hwclock/clock.h @@ -33,3 +33,4 @@ extern void set_cmos_access(int Jensen, int funky_toy); /* rtc.c */ extern int get_epoch_rtc(unsigned long *epoch, int silent); extern int set_epoch_rtc(unsigned long epoch); +extern char *rtc_dev_name; |