]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: dwc2: move "samsung,s3c6400-hsotg" into common platform
authorDinh Nguyen <dinguyen@opensource.altera.com>
Tue, 26 Aug 2014 16:19:53 +0000 (11:19 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 22:47:04 +0000 (15:47 -0700)
Move the "samsung,s3c6400-hsotg" binding as the probe function in the gadget
driver will get removed when the dual-role driver is implemented.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/gadget.c
drivers/usb/dwc2/platform.c

index 7c9618e916e23cd7eca1cc6ae098edf999a4aa06..7bbac228bc50410d0c29d739c279eb08d40d44bd 100644 (file)
@@ -3642,7 +3642,6 @@ 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 121dbdafc06b7f0f189d0d438387eb256482daf3..544a13ef68363421eec0db0a72742cbdab843b18 100644 (file)
@@ -129,6 +129,7 @@ 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);