]> git.baikalelectronics.ru Git - uboot.git/commit
snd: enable building max98357a driver with ACPIGEN=n
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 12 Jun 2022 13:13:05 +0000 (13:13 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 8 Jul 2022 13:05:47 +0000 (09:05 -0400)
commit1a24cdec68a9b7ca990bf82f2674d5036ed20a2b
treea36a0a891bcf6823ad54039d214d6abf9f3961a4
parent3914cdeb06cecc9d161b597133fcb69de020f313
snd: enable building max98357a driver with ACPIGEN=n

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

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

Fixes: d00b1f0dbe57 ("sound: Add an ACPI driver for Maxim MAX98357ac")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/sound/max98357a.c