merged.

Bruce

In message: [linux-yocto][v5.10/standard/nxp-sdk-5.10/nxp-soc & 
v5.10/standard/preempt-rt/nxp-sdk-5.10/nxp-soc][PATCH] usb/cdns3/drd.h: remove 
different function declaration
on 24/12/2022 Li Wang wrote:

> drivers/usb/cdns3/drd.c:30:12: error: static declaration of 'cdns3_set_mode' 
> follows non-static declaration
>    30 | static int cdns3_set_mode(struct cdns3 *cdns, enum usb_dr_mode mode)
>       |            ^~~~~~~~~~~~~~
> In file included from drivers/usb/cdns3/drd.c:20:
> drivers/usb/cdns3/drd.h:217:5: note: previous declaration of 'cdns3_set_mode' 
> was here
>   217 | int cdns3_set_mode(struct cdns3 *cdns, enum usb_dr_mode mode);
>       |     ^~~~~~~~~~~~~~
> 
> Signed-off-by: Li Wang <li.w...@windriver.com>
> ---
>  drivers/usb/cdns3/drd.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/usb/cdns3/drd.h b/drivers/usb/cdns3/drd.h
> index b0b3b55ae0c8..ee1cf3691f05 100644
> --- a/drivers/usb/cdns3/drd.h
> +++ b/drivers/usb/cdns3/drd.h
> @@ -214,7 +214,6 @@ int cdns3_drd_gadget_on(struct cdns3 *cdns);
>  void cdns3_drd_gadget_off(struct cdns3 *cdns);
>  int cdns3_drd_host_on(struct cdns3 *cdns);
>  void cdns3_drd_host_off(struct cdns3 *cdns);
> -int cdns3_set_mode(struct cdns3 *cdns, enum usb_dr_mode mode);
>  bool cdns3_power_is_lost(struct cdns3 *cdns);
>  
>  #endif /* __LINUX_CDNS3_DRD */
> -- 
> 2.23.0
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12051): 
https://lists.yoctoproject.org/g/linux-yocto/message/12051
Mute This Topic: https://lists.yoctoproject.org/mt/95857465/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to