Re: [PATCH] usb: cdns3: include host-export,h for cdns3_host_init

2019-10-18 Thread Ben Dooks
On 18/10/2019 04:45, Pawel Laszczak wrote: Hi The cdns3_host_init() function is declared in host-export.h but host.c does not include it. Add the include to have the declaration present (and remove the declaration of cdns3_host_exit which is now static). Fixes the following sparse warning: dr

RE: [PATCH] usb: cdns3: include host-export,h for cdns3_host_init

2019-10-17 Thread Pawel Laszczak
Hi >The cdns3_host_init() function is declared in host-export.h >but host.c does not include it. Add the include to have >the declaration present (and remove the declaration of >cdns3_host_exit which is now static). > >Fixes the following sparse warning: > >drivers/usb/cdns3/host.c:58:5: warning:

[PATCH] usb: cdns3: include host-export,h for cdns3_host_init

2019-10-17 Thread Ben Dooks (Codethink)
The cdns3_host_init() function is declared in host-export.h but host.c does not include it. Add the include to have the declaration present (and remove the declaration of cdns3_host_exit which is now static). Fixes the following sparse warning: drivers/usb/cdns3/host.c:58:5: warning: symbol 'cdns