Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Robert Baldyga and committed by
Greg Kroah-Hartman
87df8ac3 cd686097

+1 -1
+1
drivers/usb/dwc2/gadget.c
··· 3642 3642 3643 3643 #ifdef CONFIG_OF 3644 3644 static const struct of_device_id s3c_hsotg_of_ids[] = { 3645 + { .compatible = "samsung,s3c6400-hsotg", }, 3645 3646 { .compatible = "snps,dwc2", }, 3646 3647 { /* sentinel */ } 3647 3648 };
-1
drivers/usb/dwc2/platform.c
··· 129 129 { .compatible = "brcm,bcm2835-usb", .data = &params_bcm2835 }, 130 130 { .compatible = "rockchip,rk3066-usb", .data = &params_rk3066 }, 131 131 { .compatible = "snps,dwc2", .data = NULL }, 132 - { .compatible = "samsung,s3c6400-hsotg", .data = NULL}, 133 132 {}, 134 133 }; 135 134 MODULE_DEVICE_TABLE(of, dwc2_of_match_table);