mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
hwmon: (core) Add hwmon_max to hwmon_sensor_types enumeration
It's useful to know the maximum types of sensor supported by hwmon framework. It can be used to allocate some data structures when sorting the monitors based on their type. This will be used by scmi hwmon support. Cc: linux-hwmon@vger.kernel.org Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
This commit is contained in:
parent
6d6a1d82ea
commit
d57538004b
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ enum hwmon_sensor_types {
|
||||||
hwmon_humidity,
|
hwmon_humidity,
|
||||||
hwmon_fan,
|
hwmon_fan,
|
||||||
hwmon_pwm,
|
hwmon_pwm,
|
||||||
|
hwmon_max,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum hwmon_chip_attributes {
|
enum hwmon_chip_attributes {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue