[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160506105739.43ae3afd@canb.auug.org.au>
Date: Fri, 6 May 2016 10:57:39 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Adam Thomson <Adam.Thomson.Opensource@...semi.com>,
Sathyanarayana Nujella <sathyanarayana.nujella@...el.com>
Subject: linux-next: build failure after merge of the sound-asoc tree
Hi all,
After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) failed like this:
sound/soc/codecs/da7219.c:1964:23: error: implicit declaration of function 'ACPI_PTR' [-Werror=implicit-function-declaration]
.acpi_match_table = ACPI_PTR(da7219_acpi_match),
^
sound/soc/codecs/da7219.c:1964:23: error: initializer element is not constant
sound/soc/codecs/da7219.c:1964:23: note: (near initialization for 'da7219_i2c_driver.driver.acpi_match_table')
Caused by commit
5181365f5312 ("ASoC: da7219: Add initial ACPI id for device")
I added this patch for today:
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Fri, 6 May 2016 10:52:45 +1000
Subject: [PATCH] ASoC: da7219: include acpi.h for ACPI_PTR
Fixed: 5181365f5312 ("ASoC: da7219: Add initial ACPI id for device")
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
sound/soc/codecs/da7219.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c
index 17e2119f211b..1d9f4ff4355a 100644
--- a/sound/soc/codecs/da7219.c
+++ b/sound/soc/codecs/da7219.c
@@ -20,6 +20,7 @@
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/regulator/consumer.h>
+#include <linux/acpi.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
--
2.7.0
--
Cheers,
Stephen Rothwell
Powered by blists - more mailing lists