@@ -709,17 +709,17 @@ static int tf_vega10_thermal_disable_alert(struct pp_hwmgr *hwmgr,
709
709
710
710
static struct phm_master_table_item
711
711
vega10_thermal_start_thermal_controller_master_list [] = {
712
- {NULL , tf_vega10_thermal_initialize },
713
- {NULL , tf_vega10_thermal_set_temperature_range },
714
- {NULL , tf_vega10_thermal_enable_alert },
712
+ { . tableFunction = tf_vega10_thermal_initialize },
713
+ { . tableFunction = tf_vega10_thermal_set_temperature_range },
714
+ { . tableFunction = tf_vega10_thermal_enable_alert },
715
715
/* We should restrict performance levels to low before we halt the SMC.
716
716
* On the other hand we are still in boot state when we do this
717
717
* so it would be pointless.
718
718
* If this assumption changes we have to revisit this table.
719
719
*/
720
- {NULL , tf_vega10_thermal_setup_fan_table },
721
- {NULL , tf_vega10_thermal_start_smc_fan_control },
722
- {NULL , NULL }
720
+ { . tableFunction = tf_vega10_thermal_setup_fan_table },
721
+ { . tableFunction = tf_vega10_thermal_start_smc_fan_control },
722
+ { }
723
723
};
724
724
725
725
static struct phm_master_table_header
@@ -731,10 +731,10 @@ vega10_thermal_start_thermal_controller_master = {
731
731
732
732
static struct phm_master_table_item
733
733
vega10_thermal_set_temperature_range_master_list [] = {
734
- {NULL , tf_vega10_thermal_disable_alert },
735
- {NULL , tf_vega10_thermal_set_temperature_range },
736
- {NULL , tf_vega10_thermal_enable_alert },
737
- {NULL , NULL }
734
+ { . tableFunction = tf_vega10_thermal_disable_alert },
735
+ { . tableFunction = tf_vega10_thermal_set_temperature_range },
736
+ { . tableFunction = tf_vega10_thermal_enable_alert },
737
+ { }
738
738
};
739
739
740
740
struct phm_master_table_header
0 commit comments