Skip to content

Commit

Permalink
usb: otg: isp1301_omap: fix compile error
Browse files Browse the repository at this point in the history
commit 91c8a5a broke
compilation of this driver after it introduced
otg_init() as a static inline in <linux/usb/otg.h>

Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Felipe Balbi authored and Greg Kroah-Hartman committed Dec 23, 2009
1 parent 1c4bdc0 commit 465f829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/otg/isp1301_omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 465f829

Please sign in to comment.