patch-2.3.43 linux/drivers/char/msp3400.c

Next file: linux/drivers/char/nvram.c
Previous file: linux/drivers/char/mixcomwd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/char/msp3400.c linux/drivers/char/msp3400.c
@@ -1274,19 +1274,10 @@
 }
 
 static struct file_operations msp3400c_mixer_fops = {
-        msp3400c_mixer_llseek,
-        NULL,  /* read */
-        NULL,  /* write */
-        NULL,  /* readdir */
-        NULL,  /* poll */
-        msp3400c_mixer_ioctl,
-        NULL,  /* mmap */
-        msp3400c_mixer_open,
-	NULL,
-        msp3400c_mixer_release,
-        NULL,  /* fsync */
-        NULL,  /* fasync */
-        NULL,  /* lock */
+	llseek:		msp3400c_mixer_llseek,
+	ioctl:		msp3400c_mixer_ioctl,
+	open:		msp3400c_mixer_open,
+	release:	msp3400c_mixer_release,
 };
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)