File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -224,17 +224,17 @@ int msm_hdmi_modeset_init(struct hdmi *hdmi,
224224 .item ## _names = item ##_names_ ## entry, \
225225 .item ## _cnt = ARRAY_SIZE(item ## _names_ ## entry)
226226
227- static const char * hpd_reg_names_8960 [] = {"core-vdda" };
228- static const char * hpd_clk_names_8960 [] = {"core" , "master_iface" , "slave_iface" };
227+ static const char * const hpd_reg_names_8960 [] = {"core-vdda" };
228+ static const char * const hpd_clk_names_8960 [] = {"core" , "master_iface" , "slave_iface" };
229229
230230static const struct hdmi_platform_config hdmi_tx_8960_config = {
231231 HDMI_CFG (hpd_reg , 8960 ),
232232 HDMI_CFG (hpd_clk , 8960 ),
233233};
234234
235- static const char * pwr_reg_names_8x74 [] = {"core-vdda" , "core-vcc" };
236- static const char * pwr_clk_names_8x74 [] = {"extp" , "alt_iface" };
237- static const char * hpd_clk_names_8x74 [] = {"iface" , "core" , "mdp_core" };
235+ static const char * const pwr_reg_names_8x74 [] = {"core-vdda" , "core-vcc" };
236+ static const char * const pwr_clk_names_8x74 [] = {"extp" , "alt_iface" };
237+ static const char * const hpd_clk_names_8x74 [] = {"iface" , "core" , "mdp_core" };
238238static unsigned long hpd_clk_freq_8x74 [] = {0 , 19200000 , 0 };
239239
240240static const struct hdmi_platform_config hdmi_tx_8974_config = {
Original file line number Diff line number Diff line change @@ -84,20 +84,20 @@ struct hdmi {
8484/* platform config data (ie. from DT, or pdata) */
8585struct hdmi_platform_config {
8686 /* regulators that need to be on for hpd: */
87- const char * * hpd_reg_names ;
87+ const char * const * hpd_reg_names ;
8888 int hpd_reg_cnt ;
8989
9090 /* regulators that need to be on for screen pwr: */
91- const char * * pwr_reg_names ;
91+ const char * const * pwr_reg_names ;
9292 int pwr_reg_cnt ;
9393
9494 /* clks that need to be on for hpd: */
95- const char * * hpd_clk_names ;
95+ const char * const * hpd_clk_names ;
9696 const long unsigned * hpd_freq ;
9797 int hpd_clk_cnt ;
9898
9999 /* clks that need to be on for screen pwr (ie pixel clk): */
100- const char * * pwr_clk_names ;
100+ const char * const * pwr_clk_names ;
101101 int pwr_clk_cnt ;
102102};
103103
You can’t perform that action at this time.
0 commit comments