aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2020-11-09 22:58:44 +0100
committerVinod Koul <[email protected]>2020-11-16 13:04:57 +0530
commit86f1a6e6c5f700f27bbee046ad330b6a50707a24 (patch)
tree49c9a7db768a7cc0bc0fd52788a03382af8cea79 /scripts/gdb/linux/utils.py
parent3cc8e86721adbd24de7303bbb5a82464ba9e324a (diff)
phy: tegra: Constify static device_type structs
The only usage of tegra_xusb_pad_type and tegra_xusb_port_type is to assign their address to the type field in the device struct, which is a const pointer. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions