Skip to content

Commit

Permalink
usb: ehci-s5p/ohci-exynos: Fix compatible strings for the device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vivek Gautam authored and Greg Kroah-Hartman committed Jan 24, 2013
1 parent bdb6bc0 commit 6e24777
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/usb/host/ehci-s5p.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ohci-exynos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6e24777

Please sign in to comment.