patch-2.2.18 linux/drivers/sound/ad1816.c

Next file: linux/drivers/sound/awacs_defs.h
Previous file: linux/drivers/sound/ac97_codec.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/sound/ad1816.c linux/drivers/sound/ad1816.c
@@ -1010,7 +1010,7 @@
 	if (((cmd >> 8) & 0xff) == 'M') { 
 		
 		/* set ioctl */
-		if (_IOC_DIR (cmd) & _IOC_WRITE) { 
+		if (_SIOC_DIR (cmd) & _SIOC_WRITE) { 
 			switch (cmd & 0xff){
 			case SOUND_MIXER_RECSRC:
 				

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