Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1395560

linux-next: build failure after merge of the sound-asoc tree

From Stephen Rothwell <sfr@canb.auug.org.au>
Newsgroups linux.kernel
Subject linux-next: build failure after merge of the sound-asoc tree
Date 2016-05-06 03:00 +0200
Message-ID <rvChA-2DB-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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@canb.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@canb.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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-05-06 03:00 +0200
  RE: linux-next: build failure after merge of the sound-asoc tree "Opensource [Adam Thomson]" <Adam.Thomson.Opensource@diasemi.com> - 2016-05-06 11:50 +0200
    Re: linux-next: build failure after merge of the sound-asoc tree Mark Brown <broonie@kernel.org> - 2016-05-06 14:10 +0200
      RE: linux-next: build failure after merge of the sound-asoc tree "Opensource [Adam Thomson]" <Adam.Thomson.Opensource@diasemi.com> - 2016-05-06 15:40 +0200

csiph-web