usb: cdns3: include host-export,h for cdns3_host_init
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Thu, 17 Oct 2019 12:44:27 +0000 (13:44 +0100)
committerFelipe Balbi <balbi@kernel.org>
Sun, 27 Oct 2019 06:58:44 +0000 (08:58 +0200)
commit5053691a7d62a4ad1566aa923e33f5d21a8016f0
treea0661c5470aedb64bca7bdbd39f70b14be7d8bd8
parentb26a4052cf9a93672f154976de14705fbf8a8179
usb: cdns3: include host-export,h for cdns3_host_init

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 'cdns3_host_init' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/cdns3/host-export.h
drivers/usb/cdns3/host.c