fix(mt8196): duplicated ETIMEDOUT definition

Refactor the local definition of the ETIMEDOUT macro to prevent
conflicts with the standard definition provided by libc/errno.h.

Change-Id: I3eff7e4a8e395914cb6a4b33d18e6d5b46cc06f6
Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
diff --git a/plat/mediatek/drivers/mtcmos/mt8196/mtcmos.c b/plat/mediatek/drivers/mtcmos/mt8196/mtcmos.c
index ee3849f..1e82bb4 100644
--- a/plat/mediatek/drivers/mtcmos/mt8196/mtcmos.c
+++ b/plat/mediatek/drivers/mtcmos/mt8196/mtcmos.c
@@ -50,7 +50,7 @@
 
 #define MTCMOS_TIMEOUT_US	500
 
-#define ETIMEDOUT	25
+#define MTCMOS_ETIMEDOUT	25
 
 static spinlock_t mtcmos_ctrl_lock;
 
@@ -69,7 +69,7 @@
 	ERROR("%s(0x%x, 0x%x, %d) timeout, reg_val=0x%x\n",
 	      __func__, reg, mask, is_set, mmio_read_32(reg));
 
-	return -ETIMEDOUT;
+	return -MTCMOS_ETIMEDOUT;
 }
 
 
@@ -81,7 +81,7 @@
 		mmio_write_32(SPM_BUS_PROTECT_EN_SET, mask);
 		if (mtcmos_wait_for_state(SPM_BUS_PROTECT_RDY_STA, mask,
 					  true))
-			return -ETIMEDOUT;
+			return -MTCMOS_ETIMEDOUT;
 	} else if (state == RELEASE_BUS_PROTECT) {
 		mmio_write_32(SPM_BUS_PROTECT_EN_CLR, mask);
 	}