summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/phy-generic.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-04-16 15:20:44 -0500
committerFelipe Balbi <balbi@ti.com>2014-04-21 14:07:24 -0500
commit4525beeb9aadbb9e1cb3e9e135f4371553f26a70 (patch)
tree4c3679819c31984dfa313ee64abaf9f0b6abbb18 /drivers/usb/phy/phy-generic.h
parent0700faaf736492bd203630d179b639a1f5bbb576 (diff)
downloadtalos-obmc-linux-4525beeb9aadbb9e1cb3e9e135f4371553f26a70.tar.gz
talos-obmc-linux-4525beeb9aadbb9e1cb3e9e135f4371553f26a70.zip
usb: phy: rename usb_nop_xceiv to usb_phy_generic
no functional changes, just renaming the function in order to make it slightly clearer what it should be used for, also matching the driver name. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/phy-generic.h')
-rw-r--r--drivers/usb/phy/phy-generic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/phy/phy-generic.h b/drivers/usb/phy/phy-generic.h
index 38a81f307b82..f32450ada12d 100644
--- a/drivers/usb/phy/phy-generic.h
+++ b/drivers/usb/phy/phy-generic.h
@@ -3,7 +3,7 @@
#include <linux/usb/usb_phy_gen_xceiv.h>
-struct usb_phy_gen_xceiv {
+struct usb_phy_generic {
struct usb_phy phy;
struct device *dev;
struct clk *clk;
@@ -15,7 +15,7 @@ struct usb_phy_gen_xceiv {
int usb_gen_phy_init(struct usb_phy *phy);
void usb_gen_phy_shutdown(struct usb_phy *phy);
-int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_gen_xceiv *nop,
- struct usb_phy_gen_xceiv_platform_data *pdata);
+int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_generic *nop,
+ struct usb_phy_generic_platform_data *pdata);
#endif
OpenPOWER on IntegriCloud