]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert "ALSA: uapi: Drop asound.h inclusion from asoc.h"
authorTakashi Iwai <tiwai@suse.de>
Tue, 31 Mar 2020 09:00:23 +0000 (11:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 31 Mar 2020 09:01:12 +0000 (11:01 +0200)
This reverts commit 254ca2b911a5efabf9b2e992108b88d12ae50bca
which was reported to break the build a program using this header.

The original issue was addressed in the alsa-lib side recently, so we
can make the header more self-contained again.

Reported-by: Dmitry V. Levin <ldv@altlinux.org>
Fixes: 254ca2b911a5 ("ALSA: uapi: Drop asound.h inclusion from asoc.h")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200331090023.8112-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/asoc.h

index 6048553c119d944f05afeaae7158294f59c5bd86..a74ca232f1fc1ff69bc6b7e9e6a3d17feae0108f 100644 (file)
@@ -17,6 +17,7 @@
 #define __LINUX_UAPI_SND_ASOC_H
 
 #include <linux/types.h>
+#include <sound/asound.h>
 
 /*
  * Maximum number of channels topology kcontrol can represent.