Add MAX6654 device to i2c h2mon new_device list
Tested: JSON configuration of { "Type": "MAX6654" } works
as expected, and uses i2c new_device to load the driver
and instantiate it in hwmon, same as the other devices here.
Signed-off-by: Josh Lehan <krellan@google.com>
Change-Id: I53d75739ffdab32424a919ee5773097661c40448
diff --git a/include/devices.hpp b/include/devices.hpp
index 5c8ba15..5397176 100644
--- a/include/devices.hpp
+++ b/include/devices.hpp
@@ -74,6 +74,9 @@
{"MAX34451",
ExportTemplate("max34451 $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+ {"MAX6654",
+ ExportTemplate("max6654 $Address",
+ "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"PCA9543Mux",
ExportTemplate("pca9543 $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},