usb: ehci-s5p/ohci-exynos: Fix compatible strings for the device
authorVivek Gautam <gautam.vivek@samsung.com>
Thu, 24 Jan 2013 13:45:29 +0000 (19:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jan 2013 22:03:56 +0000 (14:03 -0800)
Using specific chip in compatible strings. Newer SOCs can claim
device by using older string in the compatible list.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-s5p.c
drivers/usb/host/ohci-exynos.c

index 319dcfaa8735f6446891984ab8af65f64d57be5b..f18e6ac081aa7ac88c0ab9e7531b1d051dc08ce0 100644 (file)
@@ -266,7 +266,7 @@ static const struct dev_pm_ops s5p_ehci_pm_ops = {
 
 #ifdef CONFIG_OF
 static const struct of_device_id exynos_ehci_match[] = {
-       { .compatible = "samsung,exynos-ehci" },
+       { .compatible = "samsung,exynos4210-ehci" },
        {},
 };
 MODULE_DEVICE_TABLE(of, exynos_ehci_match);
index aa3b8844bb9fd7dfaf7e8a08322a80a500420d8f..77f2017c33c42229c026e1f07d4335a183d76548 100644 (file)
@@ -267,7 +267,7 @@ static const struct dev_pm_ops exynos_ohci_pm_ops = {
 
 #ifdef CONFIG_OF
 static const struct of_device_id exynos_ohci_match[] = {
-       { .compatible = "samsung,exynos-ohci" },
+       { .compatible = "samsung,exynos4210-ohci" },
        {},
 };
 MODULE_DEVICE_TABLE(of, exynos_ohci_match);