eeprom device updater: add firmware suffix to config types
Add a "Firmware" suffix to the EM config types to avoid naming
conflicts with dbus-sensors EM config types.
Change-Id: Iae41970f9860648f33319d5e776afad4d48c6d6e
Signed-off-by: Kevin Tung <Kevin.Tung@quantatw.com>
diff --git a/eeprom-device/eeprom_device_version.cpp b/eeprom-device/eeprom_device_version.cpp
index fa0e238..190a8dc 100644
--- a/eeprom-device/eeprom_device_version.cpp
+++ b/eeprom-device/eeprom_device_version.cpp
@@ -16,7 +16,7 @@
}
static const std::unordered_map<std::string, ProviderFactory> providerMap = {
- {"PT5161L", createProvider<PT5161LDeviceVersion>}};
+ {"PT5161LFirmware", createProvider<PT5161LDeviceVersion>}};
std::unique_ptr<DeviceVersion> getVersionProvider(
const std::string& chipModel, const uint16_t bus, const uint8_t address)