Revision 6045dd7e5955f0175c9075f8ba80015369d6b201 authored by Rikard Falkeborn on 08 May 2020, 21:44:21 UTC, committed by Felipe Balbi on 14 May 2020, 09:42:53 UTC
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 <rikard.falkeborn@gmail.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
1 parent 4210f3a
History
File Mode Size
Kconfig -rw-r--r-- 618 bytes
Makefile -rw-r--r-- 248 bytes
cap.c -rw-r--r-- 4.2 KB
ctl.c -rw-r--r-- 25.1 KB
ctl.h -rw-r--r-- 4.6 KB
dma_port.c -rw-r--r-- 12.1 KB
dma_port.h -rw-r--r-- 937 bytes
domain.c -rw-r--r-- 18.8 KB
eeprom.c -rw-r--r-- 12.9 KB
icm.c -rw-r--r-- 56.7 KB
lc.c -rw-r--r-- 8.1 KB
nhi.c -rw-r--r-- 32.4 KB
nhi.h -rw-r--r-- 2.6 KB
nhi_ops.c -rw-r--r-- 4.1 KB
nhi_regs.h -rw-r--r-- 4.5 KB
path.c -rw-r--r-- 14.6 KB
property.c -rw-r--r-- 16.8 KB
switch.c -rw-r--r-- 64.1 KB
tb.c -rw-r--r-- 26.3 KB
tb.h -rw-r--r-- 27.7 KB
tb_msgs.h -rw-r--r-- 10.9 KB
tb_regs.h -rw-r--r-- 10.8 KB
tmu.c -rw-r--r-- 8.4 KB
tunnel.c -rw-r--r-- 28.8 KB
tunnel.h -rw-r--r-- 3.0 KB
usb4.c -rw-r--r-- 17.7 KB
xdomain.c -rw-r--r-- 43.1 KB

back to top