[PATCH] usb: musb-new: Fix unused function warnings from clang

Marek Vasut marex at denx.de
Thu Jun 4 22:11:05 CEST 2020


On 6/4/20 10:09 PM, Tom Rini wrote:
> The functions dsps_readb and dsps_writeb are only used by code that is
> under a !__UBOOT__ guard today.  Add that guard around these functions
> as well to avoid the warning.
> 
> Cc: Marek Vasut <marex at denx.de>
> Signed-off-by: Tom Rini <trini at konsulko.com>

Reviewed-by: Marek Vasut <marex at denx.de>


More information about the U-Boot mailing list