Add fan presence support configurations
Add configurations and allow entity manager to export
gpios.
Change-Id: Ib2564a9860ff223b8ea75b3e8ac7c2d97f2c2f59
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/include/devices.hpp b/include/devices.hpp
index 95cdd96..a72624b 100644
--- a/include/devices.hpp
+++ b/include/devices.hpp
@@ -40,6 +40,7 @@
exportTemplates{
{{"EEPROM", ExportTemplate("eeprom $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+ {"Gpio", ExportTemplate("$Index", "/sys/class/gpio/export")},
{"PCA9543Mux",
ExportTemplate("pca9543 $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},