Skip to content

Commit

Permalink
USB: musb: blackfin: fix musb_read_txhubport() definition
Browse files Browse the repository at this point in the history
The new MUSB power code needs musb_read_txhubport() to
return a value (so stub it as 0 like the other Blackfin
hub funcs).

Signed-off-by: Ian Jeffray <ian@jeffray.co.uk>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Ian Jeffray authored and Felipe Balbi committed Nov 5, 2010
1 parent 31c9909 commit 5d726f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/usb/musb/musb_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,9 @@ static inline u8 musb_read_txhubaddr(void __iomem *mbase, u8 epnum)
return 0;
}

static inline void musb_read_txhubport(void __iomem *mbase, u8 epnum)
static inline u8 musb_read_txhubport(void __iomem *mbase, u8 epnum)
{
return 0;
}

#endif /* CONFIG_BLACKFIN */
Expand Down

0 comments on commit 5d726f5

Please sign in to comment.