Skip to content

Commit dabd4bc

Browse files
andy-shevlinusw
authored andcommitted
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 4fbd8d1 commit dabd4bc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/pinctrl/intel/pinctrl-merrifield.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -931,10 +931,17 @@ static int mrfld_pinctrl_probe(struct platform_device *pdev)
931931
return 0;
932932
}
933933

934+
static const struct acpi_device_id mrfld_acpi_table[] = {
935+
{ "INTC1002" },
936+
{ }
937+
};
938+
MODULE_DEVICE_TABLE(acpi, mrfld_acpi_table);
939+
934940
static struct platform_driver mrfld_pinctrl_driver = {
935941
.probe = mrfld_pinctrl_probe,
936942
.driver = {
937943
.name = "pinctrl-merrifield",
944+
.acpi_match_table = mrfld_acpi_table,
938945
},
939946
};
940947

0 commit comments

Comments
 (0)