patch-2.1.77 linux/drivers/sound/uart401.c

Next file: linux/drivers/sound/uart6850.c
Previous file: linux/drivers/sound/sys_timer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.76/linux/drivers/sound/uart401.c linux/drivers/sound/uart401.c
@@ -186,12 +186,6 @@
 	return 0;
 }
 
-static int
-uart401_ioctl(int dev, unsigned cmd, caddr_t arg)
-{
-	return -EINVAL;
-}
-
 static void
 uart401_kick(int dev)
 {
@@ -214,7 +208,7 @@
 	{0},
 	uart401_open,
 	uart401_close,
-	uart401_ioctl,
+	NULL, /* ioctl */
 	uart401_out,
 	uart401_start_read,
 	uart401_end_read,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov