#ifndef __INTEL_PMIC_H#define __INTEL_PMIC_Hstructpmic_table{intaddress;/* operation region address */intreg;/* corresponding thermal register */intbit;/* control bit for power */};structintel_pmic_opregion_data{int(*get_power)(structregmap*r,intreg,intbit,u64*value);int(*update_power)(structregmap*r,intreg,intbit,boolon);int(*get_raw_temp)(structregmap*r,intreg);int(*update_aux)(structregmap*r,intreg,intraw_temp);int(*get_policy)(structregmap*r,intreg,u64*value);int(*update_policy)(structregmap*r,intreg,intenable);structpmic_table*power_table;intpower_table_count;structpmic_table*thermal_table;intthermal_table_count;};intintel_pmic_install_opregion_handler(structdevice*dev,acpi_handlehandle,structregmap*regmap,structintel_pmic_opregion_data*d);#endif