summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Youn <John.Youn@synopsys.com>2017-01-17 20:30:58 -0800
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-24 11:04:18 +0200
commit3b1920e782287af73bc234ace0f7d6db31a324d3 (patch)
tree7f74bb0377ed8f1e6ad48a573b39089e6803b214
parent9da5197475a09e51a467388308f14dcbdcee8ba9 (diff)
downloadlinux-3b1920e782287af73bc234ace0f7d6db31a324d3.tar.gz
linux-3b1920e782287af73bc234ace0f7d6db31a324d3.tar.xz
usb: dwc2: Add identifier in prototypes
Fixes checkpatch warning: WARNING: function definition argument 'struct dwc2_hsotg *' should also have an identifier name Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
-rw-r--r--drivers/usb/dwc2/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/dwc2/debug.h b/drivers/usb/dwc2/debug.h
index d3e52dd32f57..8222783e6822 100644
--- a/drivers/usb/dwc2/debug.h
+++ b/drivers/usb/dwc2/debug.h
@@ -17,8 +17,8 @@
#include "core.h"
#ifdef CONFIG_DEBUG_FS
-int dwc2_debugfs_init(struct dwc2_hsotg *);
-void dwc2_debugfs_exit(struct dwc2_hsotg *);
+int dwc2_debugfs_init(struct dwc2_hsotg *hsotg);
+void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg);
#else
static inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg)
{ return 0; }