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>
This commit is contained in:
parent
5b9ec339e4
commit
4ec0ddb1b4
|
@ -59,7 +59,7 @@
|
||||||
.offset = DWC3_ ##nm - DWC3_GLOBALS_REGS_START, \
|
.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(GSBUSCFG0),
|
||||||
dump_register(GSBUSCFG1),
|
dump_register(GSBUSCFG1),
|
||||||
dump_register(GTXTHRCFG),
|
dump_register(GTXTHRCFG),
|
||||||
|
|
Loading…
Reference in New Issue