platform: Add alias members to PDRRepoChgEvent

Alias constants are added in pldmPDRRepositoryChgEvent
changeRecord event data operation enum. This is done
to give more consistent names to the enum constants.
The older version of these duplicate constants will be
removed after backward compatibility is taken care.

See CHANGELOG.md for more information on this enum.

Change-Id: Ie30f9034d4ca12abd5d2a4b3e584e0f63f55e56b
Signed-off-by: Varsha Kaverappa <vkaverap@in.ibm.com>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 70055eb..531d218 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-# Changelog
+#Changelog
 
 All notable changes to this project will be documented in this file.
 
@@ -25,6 +25,12 @@
 4. base: Added PLDM_SMBIOS & PLDM_RDE message types
 5. oem: meta: Add decode_oem_meta_file_io_req()
 6. state-set: Add all state set values to system power state enum as per DSP0249
+7. platform: Add alias members to the enum
+   pldm_pdr_repository_chg_event_change_record_event_data_operation.
+
+   enum constants with inconsistent names are deprecated with this change.
+   remove old inconsistent enum members after backward compatibility cleanup is
+   done
 
 ### Changed
 
diff --git a/include/libpldm/platform.h b/include/libpldm/platform.h
index 385e237..1b39823 100644
--- a/include/libpldm/platform.h
+++ b/include/libpldm/platform.h
@@ -263,13 +263,18 @@
 };
 
 /** @brief PLDM pldmPDRRepositoryChgEvent class changeRecord format
- * eventDataOperation
+ * eventDataOperation. See CHANGELOG.md for info on the alias members.
  */
 enum pldm_pdr_repository_chg_event_change_record_event_data_operation {
-	PLDM_REFRESH_ALL_RECORDS,
-	PLDM_RECORDS_DELETED,
-	PLDM_RECORDS_ADDED,
-	PLDM_RECORDS_MODIFIED
+	PLDM_REFRESH_ALL_RECORDS = 0,
+	PLDM_RECORDS_DELETED = 1,
+	PLDM_RECORDS_ADDED = 2,
+	PLDM_RECORDS_MODIFIED = 3,
+
+	PLDM_PDR_RECORDS_REFRESH_ALL = 0,
+	PLDM_PDR_RECORDS_DELETED = 1,
+	PLDM_PDR_RECORDS_ADDED = 2,
+	PLDM_PDR_RECORDS_MODIFIED = 3
 };
 
 /** @brief PLDM NumericSensorStatePresentReading data type