diff options
author | Graeme Gregory <graeme.gregory@linaro.org> | 2014-10-13 14:56:35 +0100 |
---|---|---|
committer | Hanjun Guo <hanjun.guo@linaro.org> | 2015-03-13 16:10:37 +0800 |
commit | 34994b64f25df55ce43cf9f6d494e4d0e9d161ab (patch) | |
tree | 2fad5221c2dc1761720588fa18b44e92583cba96 | |
parent | fdca659c0fb3d111bec47dc6c359dbb4636a757d (diff) |
usb: ehci-platform: add ACPI probing informationacpi-5.1-v10
Add PNP0D20 the generic ACPI id for EHCI host controller to match
tables.
Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org>
-rw-r--r-- | drivers/usb/host/ehci-platform.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index d8a75a51d6d4..070c9b9c740f 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c @@ -33,6 +33,7 @@ #include <linux/usb.h> #include <linux/usb/hcd.h> #include <linux/usb/ehci_pdriver.h> +#include <linux/acpi.h> #include "ehci.h" @@ -397,6 +398,12 @@ static const struct of_device_id vt8500_ehci_ids[] = { }; MODULE_DEVICE_TABLE(of, vt8500_ehci_ids); +static const struct acpi_device_id vt5800_ehci_acpi_ids[] = { + { "PNP0D20", 0 }, + { } +}; +MODULE_DEVICE_TABLE(acpi, vt5800_ehci_acpi_ids); + static const struct platform_device_id ehci_platform_table[] = { { "ehci-platform", 0 }, { } @@ -415,6 +422,7 @@ static struct platform_driver ehci_platform_driver = { .name = "ehci-platform", .pm = &ehci_platform_pm_ops, .of_match_table = vt8500_ehci_ids, + .acpi_match_table = ACPI_PTR(vt5800_ehci_acpi_ids), } }; |