mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
usb: musb: fix compile error
commit 35a83365da6aa10095c6138cc428c15853409c32 (usb: musb: drop unneeded musb_debug trickery) introduced a compile error for blackfin and tusb6010 glue layers. Fix it. Reported-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
a8e62dd6d9
commit
28e4970555
2 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,7 @@ struct bfin_glue {
|
||||||
*/
|
*/
|
||||||
void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src)
|
void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src)
|
||||||
{
|
{
|
||||||
|
struct musb *musb = hw_ep->musb;
|
||||||
void __iomem *fifo = hw_ep->fifo;
|
void __iomem *fifo = hw_ep->fifo;
|
||||||
void __iomem *epio = hw_ep->regs;
|
void __iomem *epio = hw_ep->regs;
|
||||||
u8 epnum = hw_ep->epnum;
|
u8 epnum = hw_ep->epnum;
|
||||||
|
@ -98,6 +99,7 @@ void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src)
|
||||||
*/
|
*/
|
||||||
void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst)
|
void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst)
|
||||||
{
|
{
|
||||||
|
struct musb *musb = hw_ep->musb;
|
||||||
void __iomem *fifo = hw_ep->fifo;
|
void __iomem *fifo = hw_ep->fifo;
|
||||||
u8 epnum = hw_ep->epnum;
|
u8 epnum = hw_ep->epnum;
|
||||||
|
|
||||||
|
|
|
@ -172,6 +172,7 @@ static inline void tusb_fifo_read_unaligned(void __iomem *fifo,
|
||||||
|
|
||||||
void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf)
|
void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf)
|
||||||
{
|
{
|
||||||
|
struct musb *musb = hw_ep->musb;
|
||||||
void __iomem *ep_conf = hw_ep->conf;
|
void __iomem *ep_conf = hw_ep->conf;
|
||||||
void __iomem *fifo = hw_ep->fifo;
|
void __iomem *fifo = hw_ep->fifo;
|
||||||
u8 epnum = hw_ep->epnum;
|
u8 epnum = hw_ep->epnum;
|
||||||
|
@ -221,6 +222,7 @@ void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf)
|
||||||
|
|
||||||
void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *buf)
|
void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *buf)
|
||||||
{
|
{
|
||||||
|
struct musb *musb = hw_ep->musb;
|
||||||
void __iomem *ep_conf = hw_ep->conf;
|
void __iomem *ep_conf = hw_ep->conf;
|
||||||
void __iomem *fifo = hw_ep->fifo;
|
void __iomem *fifo = hw_ep->fifo;
|
||||||
u8 epnum = hw_ep->epnum;
|
u8 epnum = hw_ep->epnum;
|
||||||
|
|
Loading…
Reference in a new issue