RE: [PATCH 2/3] phy: cadence: salvo: Constify cdns_nxp_sequence_pair

2020-09-12 Thread Peter Chen
> > cdns_nxp_sequence_pair[] are never modified and can be made const to allow > the compiler to put them in read-only memory. > > Signed-off-by: Rikard Falkeborn Reviewed-by: Peter Chen Peter > --- > drivers/phy/cadence/phy-cadence-salvo.c | 6 +++--- > 1 file changed, 3 insertions(+), 3

[PATCH 2/3] phy: cadence: salvo: Constify cdns_nxp_sequence_pair

2020-09-12 Thread Rikard Falkeborn
cdns_nxp_sequence_pair[] are never modified and can be made const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn --- drivers/phy/cadence/phy-cadence-salvo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/phy/cadence/phy-c