ALSA: uapi: Fix typos and header inclusion in asound.h
authorTakashi Iwai <tiwai@suse.de>
Fri, 20 Dec 2019 15:34:14 +0000 (16:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Dec 2019 15:45:11 +0000 (16:45 +0100)
commit7fd7d6c5045113350fcf78e865ced8a80dbde9fb
treeff77e7e8b0f457d2e9acf72a50cf2665ffac7792
parent4fa406caf950fd46ae06bccf9a4c72171401d203
ALSA: uapi: Fix typos and header inclusion in asound.h

The recent changes in uapi/asoundlib.h caused some build errors in
alsa-lib side because of a typo and the new included files.
Basically asound.h is supposed to be usable also on non-Linux systems,
so we've tried to avoid the Linux-specific include files.

This patch is an attempt to recover from those changes.

Fixes: 3ddee7f88aaf ("ALSA: Avoid using timespec for struct snd_pcm_status")
Fixes: 80fe7430c708 ("ALSA: add new 32-bit layout for snd_pcm_mmap_status/control")
Link: https://lore.kernel.org/r/20191220153415.2740-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/asound.h