c79cc3d55c
A number of structs were not modified and can therefore be made const to allow the compiler to put them in read-only memory. In order to do so, update a few functions that don't modify there input to take pointers to const. Before: text data bss dec hex filename 15511 6448 64 22023 5607 drivers/phy/broadcom/phy-brcm-usb.o After: text data bss dec hex filename 16058 5936 64 22058 562a drivers/phy/broadcom/phy-brcm-usb.o Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Link: https://lore.kernel.org/r/20200516120441.7627-4-rikard.falkeborn@gmail.com Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
phy-bcm-cygnus-pcie.c | ||
phy-bcm-kona-usb2.c | ||
phy-bcm-ns2-pcie.c | ||
phy-bcm-ns2-usbdrd.c | ||
phy-bcm-ns-usb2.c | ||
phy-bcm-ns-usb3.c | ||
phy-bcm-sr-pcie.c | ||
phy-bcm-sr-usb.c | ||
phy-brcm-sata.c | ||
phy-brcm-usb-init-synopsys.c | ||
phy-brcm-usb-init.c | ||
phy-brcm-usb-init.h | ||
phy-brcm-usb.c |