diff options
author | Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> | 2019-10-17 13:44:27 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2019-10-27 08:58:44 +0200 |
commit | 5053691a7d62a4ad1566aa923e33f5d21a8016f0 (patch) | |
tree | a0661c5470aedb64bca7bdbd39f70b14be7d8bd8 /drivers/usb/cdns3/host-export.h | |
parent | b26a4052cf9a93672f154976de14705fbf8a8179 (diff) | |
download | linux-next-5053691a7d62a4ad1566aa923e33f5d21a8016f0.tar.gz |
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>
Diffstat (limited to 'drivers/usb/cdns3/host-export.h')
-rw-r--r-- | drivers/usb/cdns3/host-export.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/cdns3/host-export.h b/drivers/usb/cdns3/host-export.h index b498a170b7e8..ae11810f8826 100644 --- a/drivers/usb/cdns3/host-export.h +++ b/drivers/usb/cdns3/host-export.h @@ -12,7 +12,6 @@ #ifdef CONFIG_USB_CDNS3_HOST int cdns3_host_init(struct cdns3 *cdns); -void cdns3_host_exit(struct cdns3 *cdns); #else |