]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Revert "usb: dwc2: move "samsung,s3c6400-hsotg" into common platform"
authorRobert Baldyga <r.baldyga@samsung.com>
Thu, 11 Sep 2014 12:53:31 +0000 (14:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 20:48:43 +0000 (13:48 -0700)
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>
drivers/usb/dwc2/gadget.c
drivers/usb/dwc2/platform.c

index 7bbac228bc50410d0c29d739c279eb08d40d44bd..7c9618e916e23cd7eca1cc6ae098edf999a4aa06 100644 (file)
@@ -3642,6 +3642,7 @@ static int s3c_hsotg_resume(struct platform_device *pdev)
 
 #ifdef CONFIG_OF
 static const struct of_device_id s3c_hsotg_of_ids[] = {
+       { .compatible = "samsung,s3c6400-hsotg", },
        { .compatible = "snps,dwc2", },
        { /* sentinel */ }
 };
index 544a13ef68363421eec0db0a72742cbdab843b18..121dbdafc06b7f0f189d0d438387eb256482daf3 100644 (file)
@@ -129,7 +129,6 @@ static const struct of_device_id dwc2_of_match_table[] = {
        { .compatible = "brcm,bcm2835-usb", .data = &params_bcm2835 },
        { .compatible = "rockchip,rk3066-usb", .data = &params_rk3066 },
        { .compatible = "snps,dwc2", .data = NULL },
-       { .compatible = "samsung,s3c6400-hsotg", .data = NULL},
        {},
 };
 MODULE_DEVICE_TABLE(of, dwc2_of_match_table);