]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: sb16 - Fix build errors on MIPS and others with 13bit ioctl size
authorTakashi Iwai <tiwai@suse.de>
Thu, 30 Jun 2011 13:08:04 +0000 (15:08 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Jun 2011 13:33:57 +0000 (15:33 +0200)
commit44abebd70a398067d1c590ce61f50331640adc5b
treeeb587895c24cdf975caa9241443be4f1038d6d8a
parent8a96026daf95f6eb5254b37cd736f1f8bb861151
ALSA: sb16 - Fix build errors on MIPS and others with 13bit ioctl size

One of ioctl definition in sound/sb16_csp.h contains the data size
over 8kB, and this causes build errors on architectures like MIPS,
which define _IOC_SIZEBITS=13.

For avoiding this build errors but keeping the compatibility, manually
expand with _IOC() instead of using _IOW() for the problematic ioctl.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/sb16_csp.h