include: Drop compat symlinks for IBM OEM headers
These symlinks have been in-place long enough for people to migrate.
Provide a coccinelle semantic patch to help anyone who hasn't.
Change-Id: Iab456ebba8d87c57eb2d573b7a8bffb394e0bb00
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/evolutions/current/oem-ibm-header-compat.cocci b/evolutions/current/oem-ibm-header-compat.cocci
new file mode 100644
index 0000000..d1ea758
--- /dev/null
+++ b/evolutions/current/oem-ibm-header-compat.cocci
@@ -0,0 +1,29 @@
+@@
+@@
+-#include <libpldm/file_io.h>
++#include <libpldm/oem/ibm/file_io.h>
+
+@@
+@@
+-#include <libpldm/entity_oem_ibm.h>
++#include <libpldm/oem/ibm/entity.h>
+
+@@
+@@
+-#include <libpldm/fru_oem_ibm.h>
++#include <libpldm/oem/ibm/fru.h>
+
+@@
+@@
+-#include <libpldm/host.h>
++#include <libpldm/oem/ibm/host.h>
+
+@@
+@@
+-#include <libpldm/platform_oem_ibm.h>
++#include <libpldm/oem/ibm/platform.h>
+
+@@
+@@
+-#include <libpldm/state_set_oem_ibm.h>
++#include <libpldm/oem/ibm/state_set.h>