Messages in this thread | | | From | Shuming [范書銘] <> | Subject | RE: linux-next: build failure after merge of the sound-asoc tree | Date | Tue, 17 Apr 2018 01:22:53 +0000 |
| |
Hi all,
I think I miss the header file (#include <linux/acpi.h>) I will fix it ASAP. Sorry about that.
Thanks!
Regards, Shuming Fan
-----Original Message----- From: Stephen Rothwell [mailto:sfr@canb.auug.org.au] Sent: Tuesday, April 17, 2018 9:03 AM To: Mark Brown; Liam Girdwood Cc: Linux-Next Mailing List; Linux Kernel Mailing List; Shuming [范書銘] 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/rt1305.c:1179:23: error: implicit declaration of function 'ACPI_PTR'; did you mean 'ERR_PTR'? [-Werror=implicit-function-declaration] .acpi_match_table = ACPI_PTR(rt1305_acpi_match) ^~~~~~~~ ERR_PTR sound/soc/codecs/rt1305.c:1179:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] sound/soc/codecs/rt1305.c:1179:23: note: (near initialization for 'rt1305_i2c_driver.driver.acpi_match_table') sound/soc/codecs/rt1305.c:1179:23: error: initializer element is not constant sound/soc/codecs/rt1305.c:1179:23: note: (near initialization for 'rt1305_i2c_driver.driver.acpi_match_table')
Caused by commit
29bc643ddd7e ("ASoC: rt1305: Add RT1305/RT1306 amplifier driver")
I have used the sound-asoc tree from next-20180416 for today.
-- Cheers, Stephen Rothwell
------Please consider the environment before printing this e-mail.
| |