summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/s3c-hsotg.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-08-07 02:11:54 +0300
committerFelipe Balbi <balbi@ti.com>2015-09-27 18:54:31 +0300
commit1f91b4cc03556ba0d43ac80621dac8263cda3880 (patch)
tree93492018562be508549cd97f5398e05affbe906a /include/linux/platform_data/s3c-hsotg.h
parentdb2be4e9e30c6e43e48c5749d3fc74cee0a6bbb3 (diff)
downloadlinux-1f91b4cc03556ba0d43ac80621dac8263cda3880.tar.xz
usb: dwc2: rename all s3c_* to dwc2_*
this driver has long ago became dwc2.ko with both peripheral and host roles, there's no point in keeping the old function names. Acked-by: John Youn <johnyoun@synopsys.com> Tested-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/platform_data/s3c-hsotg.h')
-rw-r--r--include/linux/platform_data/s3c-hsotg.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/platform_data/s3c-hsotg.h b/include/linux/platform_data/s3c-hsotg.h
index 3f1cbf95ec3b..3982586ba6df 100644
--- a/include/linux/platform_data/s3c-hsotg.h
+++ b/include/linux/platform_data/s3c-hsotg.h
@@ -17,19 +17,19 @@
struct platform_device;
-enum s3c_hsotg_dmamode {
+enum dwc2_hsotg_dmamode {
S3C_HSOTG_DMA_NONE, /* do not use DMA at-all */
S3C_HSOTG_DMA_ONLY, /* always use DMA */
S3C_HSOTG_DMA_DRV, /* DMA is chosen by driver */
};
/**
- * struct s3c_hsotg_plat - platform data for high-speed otg/udc
+ * struct dwc2_hsotg_plat - platform data for high-speed otg/udc
* @dma: Whether to use DMA or not.
* @is_osc: The clock source is an oscillator, not a crystal
*/
-struct s3c_hsotg_plat {
- enum s3c_hsotg_dmamode dma;
+struct dwc2_hsotg_plat {
+ enum dwc2_hsotg_dmamode dma;
unsigned int is_osc:1;
int phy_type;
@@ -37,6 +37,6 @@ struct s3c_hsotg_plat {
int (*phy_exit)(struct platform_device *pdev, int type);
};
-extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd);
+extern void dwc2_hsotg_set_platdata(struct dwc2_hsotg_plat *pd);
#endif /* __LINUX_USB_S3C_HSOTG_H */