]> 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)
commit8938463644e9aad9e866efafb6eb456ae5df03ef
treeeb587895c24cdf975caa9241443be4f1038d6d8a
parent5d6f9ca6185d2f4fd0d9fd73737f65720a6382e3
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