patch-2.4.9 linux/drivers/macintosh/rtc.c
Next file: linux/drivers/md/lvm-snap.c
Previous file: linux/drivers/macintosh/adb.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sun Aug 12 10:38:48 2001
- Orig file:
v2.4.8/linux/drivers/macintosh/rtc.c
- Orig date:
Fri Feb 9 11:30:23 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/macintosh/rtc.c linux/drivers/macintosh/rtc.c
@@ -58,11 +58,6 @@
(ppc_md.set_rtc_time)(nowtime);
}
-static loff_t rtc_lseek(struct file *file, loff_t offset, int origin)
-{
- return -ESPIPE;
-}
-
static int rtc_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
unsigned long arg)
{
@@ -125,7 +120,7 @@
static struct file_operations rtc_fops = {
owner: THIS_MODULE,
- llseek: rtc_lseek,
+ llseek: no_llseek,
ioctl: rtc_ioctl,
open: rtc_open,
release: rtc_release
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)