projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b9ec33
)
usb: dwc3: debugfs: mark our regset structure const
author
Felipe Balbi
<balbi@ti.com>
Fri, 22 Feb 2013 14:17:31 +0000
(16:17 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:14 +0000
(11:17 +0200)
nobody should be modifying that structure and
debugfs has already being fixed to take const
arguments, so we won't cause any new compile
warnings.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/debugfs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc3/debugfs.c
b/drivers/usb/dwc3/debugfs.c
index 5512560e972b931f532e2e2600b8b4f9b8244765..a1bac9a07837d3382f271834d9a137db0f263ffc 100644
(file)
--- a/
drivers/usb/dwc3/debugfs.c
+++ b/
drivers/usb/dwc3/debugfs.c
@@
-59,7
+59,7
@@
.offset = DWC3_ ##nm - DWC3_GLOBALS_REGS_START, \
}
-static struct debugfs_reg32 dwc3_regs[] = {
+static
const
struct debugfs_reg32 dwc3_regs[] = {
dump_register(GSBUSCFG0),
dump_register(GSBUSCFG1),
dump_register(GTXTHRCFG),