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

2020-06-04 Thread Marek Vasut
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 > Signed-off-by: Tom Rini Reviewed-by: Marek Vasut

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

2020-06-04 Thread Tom Rini
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 Signed-off-by: Tom Rini --- drivers/usb/musb-new/musb_dsps.c | 4 1 file changed, 4 insertions(+) dif