diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-06 18:58:51 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-06 11:40:14 -0800 |
commit | c8ce60bbed39a8d884837ed6e53dc32f7f86e40f (patch) | |
tree | ddf6d8dc470507abc186ab80e649448f846381a1 /include/linux/usb/omap_control_usb.h | |
parent | 51482be9dcfdd0e46aa3b3b3775efe7044c94f38 (diff) |
usb: omap_control_usb: fix compile warning
When CONFIG_OMAP_CONTROL_USB isn't enabled,
there's a compile warning stating that a
particular function isn't a prototype.
Fix it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/omap_control_usb.h')
-rw-r--r-- | include/linux/usb/omap_control_usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/omap_control_usb.h b/include/linux/usb/omap_control_usb.h index f306db7149ca..27b5b8c931b0 100644 --- a/include/linux/usb/omap_control_usb.h +++ b/include/linux/usb/omap_control_usb.h @@ -70,7 +70,7 @@ extern void omap_control_usb3_phy_power(struct device *dev, bool on); extern void omap_control_usb_set_mode(struct device *dev, enum omap_control_usb_mode mode); #else -static inline struct device *omap_get_control_dev() +static inline struct device *omap_get_control_dev(void) { return ERR_PTR(-ENODEV); } |