sound: enable building DA7219 driver with ACPIGEN=n
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 12 Jun 2022 13:15:34 +0000 (13:15 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 8 Jul 2022 13:05:47 +0000 (09:05 -0400)
commitd1a03e6bbc4e025797af17168b4909b3b14a2590
treecf71280d00272680407eed197052223aa2475178
parent3ca32c806b266d8fb0a3f4d7b8c7f6ef75f43cb3
sound: enable building DA7219 driver with ACPIGEN=n

sandbox_defconfig builds the DA7219 driver. It should be possible to
build the sandbox without ACPI support.

ACPI support in the DA7219 driver is only needed when creating an ACPI
table. Fix building with ACPIGEN=n.

Fixes: 0324b7123e22 ("sound: Add an ACPI driver for Dialog Semicondutor da7219")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/sound/da7219.c