summaryrefslogtreecommitdiffstats
path: root/drivers/char/ip2main.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-23 00:40:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-23 00:40:54 +0000
commit529c593ece216e4aaffd36bd940cb94f1fa63129 (patch)
tree78f1c0b805f5656aa7b0417a043c5346f700a2cf /drivers/char/ip2main.c
parent0bd079751d25808d1972baee5c4eaa1db2227257 (diff)
Merge with 2.3.43. I did ignore all modifications to the qlogicisp.c
driver due to the Origin A64 hacks.
Diffstat (limited to 'drivers/char/ip2main.c')
-rw-r--r--drivers/char/ip2main.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/char/ip2main.c b/drivers/char/ip2main.c
index c5f31d1eb..95e2d2ed0 100644
--- a/drivers/char/ip2main.c
+++ b/drivers/char/ip2main.c
@@ -185,16 +185,11 @@ static struct termios * TermiosLocked[IP2_MAX_PORTS];
/* This is the driver descriptor for the ip2ipl device, which is used to
* download the loadware to the boards.
*/
-static struct file_operations
-ip2_ipl = {
- NULL,
- ip2_ipl_read,
- ip2_ipl_write,
- NULL,
- NULL,
- ip2_ipl_ioctl,
- NULL,
- ip2_ipl_open,
+static struct file_operations ip2_ipl = {
+ read: ip2_ipl_read,
+ write: ip2_ipl_write,
+ ioctl: ip2_ipl_ioctl,
+ open: ip2_ipl_open,
};
static long irq_counter = 0;