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

Commit 5d726f5a authored by Ian Jeffray's avatar Ian Jeffray Committed by Felipe Balbi
Browse files

USB: musb: blackfin: fix musb_read_txhubport() definition



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: default avatarIan Jeffray <ian@jeffray.co.uk>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 31c9909b
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -633,8 +633,9 @@ static inline u8 musb_read_txhubaddr(void __iomem *mbase, u8 epnum)
	return 0;
	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 */
#endif /* CONFIG_BLACKFIN */