diff options
Diffstat (limited to 'include/linux/usb')
| -rw-r--r-- | include/linux/usb/omap_control_usb.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/usb/omap_control_usb.h b/include/linux/usb/omap_control_usb.h index 61b889a9c67b..596b01918813 100644 --- a/include/linux/usb/omap_control_usb.h +++ b/include/linux/usb/omap_control_usb.h | |||
| @@ -65,15 +65,10 @@ enum omap_control_usb_mode { | |||
| 65 | #define OMAP_CTRL_USB2_PHY_PD BIT(28) | 65 | #define OMAP_CTRL_USB2_PHY_PD BIT(28) |
| 66 | 66 | ||
| 67 | #if IS_ENABLED(CONFIG_OMAP_CONTROL_USB) | 67 | #if IS_ENABLED(CONFIG_OMAP_CONTROL_USB) |
| 68 | extern struct device *omap_get_control_dev(void); | ||
| 69 | extern void omap_control_usb_phy_power(struct device *dev, int on); | 68 | extern void omap_control_usb_phy_power(struct device *dev, int on); |
| 70 | extern void omap_control_usb_set_mode(struct device *dev, | 69 | extern void omap_control_usb_set_mode(struct device *dev, |
| 71 | enum omap_control_usb_mode mode); | 70 | enum omap_control_usb_mode mode); |
| 72 | #else | 71 | #else |
| 73 | static inline struct device *omap_get_control_dev(void) | ||
| 74 | { | ||
| 75 | return ERR_PTR(-ENODEV); | ||
| 76 | } | ||
| 77 | 72 | ||
| 78 | static inline void omap_control_usb_phy_power(struct device *dev, int on) | 73 | static inline void omap_control_usb_phy_power(struct device *dev, int on) |
| 79 | { | 74 | { |
