Skip to content

Commit c8ce60b

Browse files
Felipe Balbigregkh
authored andcommitted
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>
1 parent 51482be commit c8ce60b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/usb/omap_control_usb.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ extern void omap_control_usb3_phy_power(struct device *dev, bool on);
7070
extern void omap_control_usb_set_mode(struct device *dev,
7171
enum omap_control_usb_mode mode);
7272
#else
73-
static inline struct device *omap_get_control_dev()
73+
static inline struct device *omap_get_control_dev(void)
7474
{
7575
return ERR_PTR(-ENODEV);
7676
}

0 commit comments

Comments
 (0)