diff options
Diffstat (limited to 'drivers/sbus/char/uctrl.c')
-rw-r--r-- | drivers/sbus/char/uctrl.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/drivers/sbus/char/uctrl.c b/drivers/sbus/char/uctrl.c index 6d9decaf3..78f45613d 100644 --- a/drivers/sbus/char/uctrl.c +++ b/drivers/sbus/char/uctrl.c @@ -1,4 +1,4 @@ -/* $Id: uctrl.c,v 1.6 2000/01/22 05:22:07 anton Exp $ +/* $Id: uctrl.c,v 1.7 2000/02/09 22:33:28 davem Exp $ * uctrl.c: TS102 Microcontroller interface on Tadpole Sparcbook 3 * * Copyright 1999 Derrick J Brashear (shadow@dementia.org) @@ -238,16 +238,10 @@ void uctrl_interrupt(int irq, void *dev_id, struct pt_regs *regs) } static struct file_operations uctrl_fops = { - uctrl_llseek, - NULL, /* read */ - NULL, /* write */ - NULL, /* readdir */ - NULL, /* poll */ - uctrl_ioctl, - NULL, /* mmap */ - uctrl_open, - NULL, /* flush */ - uctrl_release + llseek: uctrl_llseek, + ioctl: uctrl_ioctl, + open: uctrl_open, + release: uctrl_release, }; static struct miscdevice uctrl_dev = { |