]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hdsp: Make uapi/hdsp.h compilable again
authorTakashi Iwai <tiwai@suse.de>
Fri, 20 Dec 2019 15:34:12 +0000 (16:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Dec 2019 15:45:10 +0000 (16:45 +0100)
commit39ff8bddd7f750b67e81d52d781a48ee1368b869
tree4c55b3ff63e8c43b48f06545972fec4715aa1398
parent143f57a12a8149d1d1c707492da6dcde20456514
ALSA: hdsp: Make uapi/hdsp.h compilable again

Recently alsa-lib updated its content of sound/hdsp.h just by copying
the latest Linus kernel uapi/*.h, and this broke the build of
alsa-tools programs.  We used to modify the headers so that they can
be built without asoundlib.h and linux kernel headers, and the
verbatim copy doesn't work as is.

This patch removes again the linux/types.h inclusion and drop __user
prefix that broke the build and adjusts the corresponding code.

Link: https://lore.kernel.org/r/20191220153415.2740-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/hdsp.h
sound/pci/rme9652/hdsp.c