Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 465f8294 authored by Felipe Balbi's avatar Felipe Balbi Committed by Greg Kroah-Hartman
Browse files

usb: otg: isp1301_omap: fix compile error



commit 91c8a5a9 broke
compilation of this driver after it introduced
otg_init() as a static inline in <linux/usb/otg.h>

Reported-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1c4bdc01
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -843,7 +843,7 @@ static irqreturn_t omap_otg_irq(int irq, void *_isp)

static struct platform_device *otg_dev;

static int otg_init(struct isp1301 *isp)
static int isp1301_otg_init(struct isp1301 *isp)
{
	u32 l;

@@ -1275,7 +1275,7 @@ static int __exit isp1301_remove(struct i2c_client *i2c)
static int isp1301_otg_enable(struct isp1301 *isp)
{
	power_up(isp);
	otg_init(isp);
	isp1301_otg_init(isp);

	/* NOTE:  since we don't change this, this provides
	 * a few more interrupts than are strictly needed.