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

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

diff -u --recursive --new-file v2.1.76/linux/drivers/sound/pas2_midi.c linux/drivers/sound/pas2_midi.c
@@ -185,12 +185,6 @@
 	return 0;
 }
 
-static int
-pas_midi_ioctl(int dev, unsigned cmd, caddr_t arg)
-{
-	return -EINVAL;
-}
-
 static void
 pas_midi_kick(int dev)
 {
@@ -213,7 +207,7 @@
 	{0},
 	pas_midi_open,
 	pas_midi_close,
-	pas_midi_ioctl,
+	NULL,
 	pas_midi_out,
 	pas_midi_start_read,
 	pas_midi_end_read,

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