linux/sound
Arnd Bergmann 2256b8d2ff ASoC: rt5659: avoid unused variable warning for rt5659_acpi_match
The newly added rt5659 codec driver unconditionally defines an
ACPI device match table but then uses ACPI_PTR() to remove the
only reference to it, so we get a harmless build warning:

sound/soc/codecs/rt5659.c:4200:30: warning: 'rt5659_acpi_match' defined but not used [-Wunused-variable]
 static struct acpi_device_id rt5659_acpi_match[] = {

This changes both the OF match table and the ACPI match table
to follow the same style, using ACPI_PTR/of_match_ptr to
make the reference conditional, and using an #ifdef to hide
the table. This also adds the missing MODULE_DEVICE_TABLE for
the OF case and adapts the formatting to the same style.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-01-21 11:26:31 +00:00
..
aoa
arm ASoC: pxa: pxa-pcm-lib: switch over to snd-soc-dmaengine-pcm 2015-09-30 23:21:16 +01:00
atmel
core ALSA: Constify ratden/ratnum constraints 2015-10-28 11:42:22 +01:00
drivers
firewire ALSA: oxfw: add an comment to Kconfig for TASCAM FireOne 2015-11-08 09:04:36 +01:00
hda ALSA: hda - Add / fix kernel doc comments 2015-10-28 12:37:29 +01:00
i2c
isa
mips
oss
parisc
pci sound fixes for 4.4-rc1 2015-11-14 09:43:00 -08:00
pcmcia
ppc
sh
soc ASoC: rt5659: avoid unused variable warning for rt5659_acpi_match 2016-01-21 11:26:31 +00:00
sparc
spi
synth ALSA: synth: Fix conflicting OSS device registration on AWE32 2015-10-05 16:55:09 +02:00
usb ALSA: usb: Add native DSD support for Aune X1S 2015-11-09 14:14:47 +01:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c sound: fix check for error condition of register_chrdev() 2015-11-07 11:14:30 +01:00
sound_firmware.c