summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/debugfs.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-11-04 11:40:05 +0100
committerFelipe Balbi <balbi@ti.com>2011-12-12 10:48:29 +0100
commit8becf2704415d2bf471a0a73ae84c3cc24da8a90 (patch)
tree58a63748ec9704488066c390ae32d8a6bfef768d /drivers/usb/dwc3/debugfs.c
parentusb: dwc3: fix few coding style problems (diff)
downloadlinux-8becf2704415d2bf471a0a73ae84c3cc24da8a90.tar.xz
linux-8becf2704415d2bf471a0a73ae84c3cc24da8a90.zip
usb: dwc3: fix sparse errors
sparse caught three mistakes on this driver, fix them: drivers/usb/dwc3/ep0.c:806:29: warning: duplicate const drivers/usb/dwc3/debugfs.c:481:15: warning: symbol 'dwc3_debugfs_init' \ was not declared. Should it be static? drivers/usb/dwc3/debugfs.c:518:16: warning: symbol 'dwc3_debugfs_exit' \ was not declared. Should it be static? Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/debugfs.c')
-rw-r--r--drivers/usb/dwc3/debugfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c
index e78abb438b4b..87d403df1f3f 100644
--- a/drivers/usb/dwc3/debugfs.c
+++ b/drivers/usb/dwc3/debugfs.c
@@ -49,6 +49,7 @@
#include "core.h"
#include "gadget.h"
#include "io.h"
+#include "debug.h"
struct dwc3_register {
const char *name;