mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 11:49:32 +00:00
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>
This commit is contained in:
parent
51482be9dc
commit
c8ce60bbed
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue