diff options
author | Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> | 2019-10-17 18:27:17 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2019-10-27 08:58:44 +0200 |
commit | b26a4052cf9a93672f154976de14705fbf8a8179 (patch) | |
tree | 7b4040c809ea710c1f37ff58fad480ec79ca4103 | |
parent | bc1e3a2dd0c9954fd956ac43ca2876bbea018c01 (diff) | |
download | linux-b26a4052cf9a93672f154976de14705fbf8a8179.tar.gz linux-b26a4052cf9a93672f154976de14705fbf8a8179.tar.bz2 linux-b26a4052cf9a93672f154976de14705fbf8a8179.zip |
usb: mtu3: fix missing include of mtu3_dr.h
The declarations of ssusb_gadget_{init,exit} are
in the mtu3_dr.h file but the code does that implements
them does not include this. Add the include to fix the
following sparse warnigns:
drivers/usb/mtu3/mtu3_core.c:825:5: warning: symbol 'ssusb_gadget_init' was not declared. Should it be static?
drivers/usb/mtu3/mtu3_core.c:925:6: warning: symbol 'ssusb_gadget_exit' was not declared. Should it be static?
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
-rw-r--r-- | drivers/usb/mtu3/mtu3_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/mtu3/mtu3_core.c b/drivers/usb/mtu3/mtu3_core.c index c3d5c1206eec..9dd02160cca9 100644 --- a/drivers/usb/mtu3/mtu3_core.c +++ b/drivers/usb/mtu3/mtu3_core.c @@ -16,6 +16,7 @@ #include <linux/platform_device.h> #include "mtu3.h" +#include "mtu3_dr.h" #include "mtu3_debug.h" #include "mtu3_trace.h" |