OSDN Git Service

phy: cadence: Sierra: Constify static structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 12 Sep 2020 20:46:37 +0000 (22:46 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 16 Sep 2020 12:13:31 +0000 (17:43 +0530)
commit3cfb0e8e41621677eaa68becf9d86a8febe3b3fe
treeb7534f52786872874f2a3303196db73dc129bb43
parent5408b220436497d4e6d48010ee7a9735e77791ab
phy: cadence: Sierra: Constify static structs

The static cdns_reg_pairs and regmap_config structs are not modified and
can be made const. This allows the compiler to put them in read-only
memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200912204639.501669-2-rikard.falkeborn@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/cadence/phy-cadence-sierra.c