diff options
| author | Felipe Balbi <balbi@ti.com> | 2014-04-16 16:20:44 -0400 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2014-04-21 15:07:24 -0400 |
| commit | 4525beeb9aadbb9e1cb3e9e135f4371553f26a70 (patch) | |
| tree | 4c3679819c31984dfa313ee64abaf9f0b6abbb18 /include/linux/usb | |
| parent | 0700faaf736492bd203630d179b639a1f5bbb576 (diff) | |
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 'include/linux/usb')
| -rw-r--r-- | include/linux/usb/usb_phy_gen_xceiv.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/usb/usb_phy_gen_xceiv.h b/include/linux/usb/usb_phy_gen_xceiv.h index cc8d818a83be..c00176d48625 100644 --- a/include/linux/usb/usb_phy_gen_xceiv.h +++ b/include/linux/usb/usb_phy_gen_xceiv.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | #include <linux/usb/otg.h> | 4 | #include <linux/usb/otg.h> |
| 5 | 5 | ||
| 6 | struct usb_phy_gen_xceiv_platform_data { | 6 | struct usb_phy_generic_platform_data { |
| 7 | enum usb_phy_type type; | 7 | enum usb_phy_type type; |
| 8 | unsigned long clk_rate; | 8 | unsigned long clk_rate; |
| 9 | 9 | ||
| @@ -15,14 +15,14 @@ struct usb_phy_gen_xceiv_platform_data { | |||
| 15 | 15 | ||
| 16 | #if defined(CONFIG_NOP_USB_XCEIV) || (defined(CONFIG_NOP_USB_XCEIV_MODULE) && defined(MODULE)) | 16 | #if defined(CONFIG_NOP_USB_XCEIV) || (defined(CONFIG_NOP_USB_XCEIV_MODULE) && defined(MODULE)) |
| 17 | /* sometimes transceivers are accessed only through e.g. ULPI */ | 17 | /* sometimes transceivers are accessed only through e.g. ULPI */ |
| 18 | extern void usb_nop_xceiv_register(void); | 18 | extern void usb_phy_generic_register(void); |
| 19 | extern void usb_nop_xceiv_unregister(void); | 19 | extern void usb_phy_generic_unregister(void); |
| 20 | #else | 20 | #else |
| 21 | static inline void usb_nop_xceiv_register(void) | 21 | static inline void usb_phy_generic_register(void) |
| 22 | { | 22 | { |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | static inline void usb_nop_xceiv_unregister(void) | 25 | static inline void usb_phy_generic_unregister(void) |
| 26 | { | 26 | { |
| 27 | } | 27 | } |
| 28 | #endif | 28 | #endif |
