diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-22 09:17:31 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 05:17:14 -0400 |
commit | 4ec0ddb1b4fe3f7d93fdc862d2a7338cd354fe94 (patch) | |
tree | 122b8d972b0008911633649400cceff8e1946690 /drivers/usb/dwc3 | |
parent | 5b9ec339e45916ee682b8402597d7f2c6a04da17 (diff) |
usb: dwc3: debugfs: mark our regset structure const
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>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c index 5512560e972b..a1bac9a07837 100644 --- a/drivers/usb/dwc3/debugfs.c +++ b/drivers/usb/dwc3/debugfs.c | |||
@@ -59,7 +59,7 @@ | |||
59 | .offset = DWC3_ ##nm - DWC3_GLOBALS_REGS_START, \ | 59 | .offset = DWC3_ ##nm - DWC3_GLOBALS_REGS_START, \ |
60 | } | 60 | } |
61 | 61 | ||
62 | static struct debugfs_reg32 dwc3_regs[] = { | 62 | static const struct debugfs_reg32 dwc3_regs[] = { |
63 | dump_register(GSBUSCFG0), | 63 | dump_register(GSBUSCFG0), |
64 | dump_register(GSBUSCFG1), | 64 | dump_register(GSBUSCFG1), |
65 | dump_register(GTXTHRCFG), | 65 | dump_register(GTXTHRCFG), |