Commit dabd4bc6 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Linus Walleij

pinctrl: intel: merrifield: Introduce ACPI device table

On Intel Merrifield the pin control device is a separate IP block
without any PCI ID assigned.

Though, recently we got an allocated ACPI ID for it, so, let's use fresh
ID.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 4fbd8d19
...@@ -931,10 +931,17 @@ static int mrfld_pinctrl_probe(struct platform_device *pdev) ...@@ -931,10 +931,17 @@ static int mrfld_pinctrl_probe(struct platform_device *pdev)
return 0; return 0;
} }
static const struct acpi_device_id mrfld_acpi_table[] = {
{ "INTC1002" },
{ }
};
MODULE_DEVICE_TABLE(acpi, mrfld_acpi_table);
static struct platform_driver mrfld_pinctrl_driver = { static struct platform_driver mrfld_pinctrl_driver = {
.probe = mrfld_pinctrl_probe, .probe = mrfld_pinctrl_probe,
.driver = { .driver = {
.name = "pinctrl-merrifield", .name = "pinctrl-merrifield",
.acpi_match_table = mrfld_acpi_table,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment