|
@@ -91,7 +91,7 @@ int of_parse_thermal_zones(void);
|
|
|
void of_thermal_destroy_zones(void);
|
|
|
int of_thermal_get_ntrips(struct thermal_zone_device *);
|
|
|
bool of_thermal_is_trip_valid(struct thermal_zone_device *, int);
|
|
|
-const struct thermal_trip * const
|
|
|
+const struct thermal_trip *
|
|
|
of_thermal_get_trip_points(struct thermal_zone_device *);
|
|
|
#else
|
|
|
static inline int of_parse_thermal_zones(void) { return 0; }
|
|
@@ -105,7 +105,7 @@ static inline bool of_thermal_is_trip_valid(struct thermal_zone_device *tz,
|
|
|
{
|
|
|
return 0;
|
|
|
}
|
|
|
-static inline const struct thermal_trip * const
|
|
|
+static inline const struct thermal_trip *
|
|
|
of_thermal_get_trip_points(struct thermal_zone_device *tz)
|
|
|
{
|
|
|
return NULL;
|