diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-06-29 21:57:27 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-07-08 16:46:08 +0530 |
commit | 82c8d38699009697f3136f5347d0903befdce810 (patch) | |
tree | 0a05f43a38ec65961c0e297bda498d1602a847de /drivers/phy/cadence/phy-cadence-salvo.c | |
parent | 3cc4502ce8f37b4f8a75bfc4eb6d99a74ce018e1 (diff) | |
download | lwn-82c8d38699009697f3136f5347d0903befdce810.tar.gz lwn-82c8d38699009697f3136f5347d0903befdce810.zip |
phy: allwinner: phy-sun6i-mipi-dphy: Constify structs
sun6i_dphy_ops and sun6i_dphy_regmap_config are not modified so make them
const structs to allow the compiler to put them in read-only memory.
Before:
text data bss dec hex filename
4407 1944 64 6415 190f drivers/phy/allwinner/phy-sun6i-mipi-dphy.o
After:
text data bss dec hex filename
4835 1496 64 6395 18fb drivers/phy/allwinner/phy-sun6i-mipi-dphy.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20200629195727.9717-1-rikard.falkeborn@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/cadence/phy-cadence-salvo.c')
0 files changed, 0 insertions, 0 deletions