Commit 6e247777 authored by Vivek Gautam's avatar Vivek Gautam Committed by Greg Kroah-Hartman

usb: ehci-s5p/ohci-exynos: Fix compatible strings for the device

Using specific chip in compatible strings. Newer SOCs can claim
device by using older string in the compatible list.
Signed-off-by: default avatarVivek Gautam <gautam.vivek@samsung.com>
Acked-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Reviewed-by: default avatarDoug Anderson <dianders@chromium.org>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bdb6bc06
...@@ -266,7 +266,7 @@ static const struct dev_pm_ops s5p_ehci_pm_ops = { ...@@ -266,7 +266,7 @@ static const struct dev_pm_ops s5p_ehci_pm_ops = {
#ifdef CONFIG_OF #ifdef CONFIG_OF
static const struct of_device_id exynos_ehci_match[] = { static const struct of_device_id exynos_ehci_match[] = {
{ .compatible = "samsung,exynos-ehci" }, { .compatible = "samsung,exynos4210-ehci" },
{}, {},
}; };
MODULE_DEVICE_TABLE(of, exynos_ehci_match); MODULE_DEVICE_TABLE(of, exynos_ehci_match);
......
...@@ -267,7 +267,7 @@ static const struct dev_pm_ops exynos_ohci_pm_ops = { ...@@ -267,7 +267,7 @@ static const struct dev_pm_ops exynos_ohci_pm_ops = {
#ifdef CONFIG_OF #ifdef CONFIG_OF
static const struct of_device_id exynos_ohci_match[] = { static const struct of_device_id exynos_ohci_match[] = {
{ .compatible = "samsung,exynos-ohci" }, { .compatible = "samsung,exynos4210-ohci" },
{}, {},
}; };
MODULE_DEVICE_TABLE(of, exynos_ohci_match); MODULE_DEVICE_TABLE(of, exynos_ohci_match);
......
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