diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2014-09-11 08:53:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-11 16:48:43 -0400 |
commit | 87df8ac3d2e4f47f3d24e6038110feebbe8954cf (patch) | |
tree | 6c7ada1655a4c741ca043b94a3afc4022598b53a | |
parent | cd6860979522ceaaaa4d706790a880832f0d50ba (diff) |
Revert "usb: dwc2: move "samsung,s3c6400-hsotg" into common platform"
This reverts commit 8df438571cdbd5c4fcd1b25b19eea1ad5c3cf777.
This patch breaks building dwc2 driver in gadget mode at samsung
platforms.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/dwc2/gadget.c | 1 | ||||
-rw-r--r-- | drivers/usb/dwc2/platform.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 7bbac228bc50..7c9618e916e2 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c | |||
@@ -3642,6 +3642,7 @@ static int s3c_hsotg_resume(struct platform_device *pdev) | |||
3642 | 3642 | ||
3643 | #ifdef CONFIG_OF | 3643 | #ifdef CONFIG_OF |
3644 | static const struct of_device_id s3c_hsotg_of_ids[] = { | 3644 | static const struct of_device_id s3c_hsotg_of_ids[] = { |
3645 | { .compatible = "samsung,s3c6400-hsotg", }, | ||
3645 | { .compatible = "snps,dwc2", }, | 3646 | { .compatible = "snps,dwc2", }, |
3646 | { /* sentinel */ } | 3647 | { /* sentinel */ } |
3647 | }; | 3648 | }; |
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index 544a13ef6836..121dbdafc06b 100644 --- a/drivers/usb/dwc2/platform.c +++ b/drivers/usb/dwc2/platform.c | |||
@@ -129,7 +129,6 @@ static const struct of_device_id dwc2_of_match_table[] = { | |||
129 | { .compatible = "brcm,bcm2835-usb", .data = ¶ms_bcm2835 }, | 129 | { .compatible = "brcm,bcm2835-usb", .data = ¶ms_bcm2835 }, |
130 | { .compatible = "rockchip,rk3066-usb", .data = ¶ms_rk3066 }, | 130 | { .compatible = "rockchip,rk3066-usb", .data = ¶ms_rk3066 }, |
131 | { .compatible = "snps,dwc2", .data = NULL }, | 131 | { .compatible = "snps,dwc2", .data = NULL }, |
132 | { .compatible = "samsung,s3c6400-hsotg", .data = NULL}, | ||
133 | {}, | 132 | {}, |
134 | }; | 133 | }; |
135 | MODULE_DEVICE_TABLE(of, dwc2_of_match_table); | 134 | MODULE_DEVICE_TABLE(of, dwc2_of_match_table); |