patch-2.3.43 linux/arch/m68k/mac/adb-bus.c
Next file: linux/arch/m68k/mm/init.c
Previous file: linux/arch/m68k/bvme6000/rtc.c
Back to the patch index
Back to the overall index
- Lines: 44
- Date:
Wed Feb 9 11:42:35 2000
- Orig file:
v2.3.42/linux/arch/m68k/mac/adb-bus.c
- Orig date:
Tue Aug 31 17:29:12 1999
diff -u --recursive --new-file v2.3.42/linux/arch/m68k/mac/adb-bus.c linux/arch/m68k/mac/adb-bus.c
@@ -2498,16 +2498,11 @@
}
static struct file_operations adb_fops = {
- adb_lseek,
- adb_read,
- adb_write,
- NULL, /* no readdir */
- NULL, /* no poll yet */
- NULL, /* no ioctl yet */
- NULL, /* no mmap */
- adb_open,
- NULL, /* flush */
- adb_release
+ llseek: adb_lseek,
+ read: adb_read,
+ write: adb_write,
+ open: adb_open,
+ release: adb_release,
};
int adbdev_register(int subtype, struct file_operations *fops)
@@ -2683,16 +2678,11 @@
}
static struct file_operations adb_fops = {
- adb_lseek,
- adb_read,
- adb_write,
- NULL, /* no readdir */
- NULL, /* no select */
- NULL, /* no ioctl */
- NULL, /* no mmap */
- adb_open,
- NULL, /* flush */
- adb_release
+ llseek: adb_lseek,
+ read: adb_read,
+ write: adb_write,
+ open: adb_open,
+ release: adb_release,
};
static struct miscdevice adb_dev = {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)