ASoC: nau8315: add new acpi id and compatible id

Add new acpi id and compatible id for nau8315.

Signed-off-by: David Lin <CTLIN0@nuvoton.com>
Link: https://lore.kernel.org/r/20221124055658.53828-1-CTLIN0@nuvoton.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
David Lin 2022-11-24 13:56:57 +08:00 committed by Mark Brown
parent 8d89cf6ff2
commit 9ffe8bbb8f
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -137,6 +137,7 @@ static int nau8315_platform_probe(struct platform_device *pdev)
#ifdef CONFIG_OF #ifdef CONFIG_OF
static const struct of_device_id nau8315_device_id[] = { static const struct of_device_id nau8315_device_id[] = {
{ .compatible = "nuvoton,nau8315" }, { .compatible = "nuvoton,nau8315" },
{ .compatible = "nuvoton,nau8318" },
{} {}
}; };
MODULE_DEVICE_TABLE(of, nau8315_device_id); MODULE_DEVICE_TABLE(of, nau8315_device_id);
@ -145,6 +146,7 @@ MODULE_DEVICE_TABLE(of, nau8315_device_id);
#ifdef CONFIG_ACPI #ifdef CONFIG_ACPI
static const struct acpi_device_id nau8315_acpi_match[] = { static const struct acpi_device_id nau8315_acpi_match[] = {
{ "NVTN2010", 0 }, { "NVTN2010", 0 },
{ "NVTN2012", 0},
{}, {},
}; };
MODULE_DEVICE_TABLE(acpi, nau8315_acpi_match); MODULE_DEVICE_TABLE(acpi, nau8315_acpi_match);