diff options
| author | Rikard Falkeborn <[email protected]> | 2020-05-08 21:44:21 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-05-14 09:42:53 +0000 |
| commit | 6045dd7e5955f0175c9075f8ba80015369d6b201 (patch) | |
| tree | 3974b3fff3ec033d71f8b7e50363c2703f8dd38f /drivers/fpga/zynq-fpga.c | |
| parent | usb: gadget: udc: atmel: Make some symbols static (diff) | |
| download | kernel-6045dd7e5955f0175c9075f8ba80015369d6b201.tar.gz kernel-6045dd7e5955f0175c9075f8ba80015369d6b201.zip | |
usb: mtu3: constify struct debugfs_reg32
mtu3_prb_regs is never changed and can therefore be made const.
This allows the compiler to put it in the text section instead of the
data section.
Before:
text data bss dec hex filename
19966 7120 0 27086 69ce drivers/usb/mtu3/mtu3_debugfs.o
After:
text data bss dec hex filename
20142 6992 0 27134 69fe drivers/usb/mtu3/mtu3_debugfs.o
Signed-off-by: Rikard Falkeborn <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions
