meta-netmodule-distro/recipes-testing/ti-utils/ti-wl18xx-calibrator/0001-Remove-variable-define...

26 lines
768 B
Diff

From 061f3fda77feb2f7c8e111c5e169d460893f7210 Mon Sep 17 00:00:00 2001
From: Alexandre Bard <alexandre.bard@netmodule.com>
Date: Thu, 4 Aug 2022 13:49:17 +0200
Subject: [PATCH] Remove variable defined in header file
linker is complaining about multiple definitions of this variable.
Signed-off-by: Alexandre Bard <alexandre.bard@netmodule.com>
---
plt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plt.h b/plt.h
index 8b534a9..43d5dbc 100644
--- a/plt.h
+++ b/plt.h
@@ -399,7 +399,7 @@ enum EFUSE_PARAMETER_TYPE_ENMT {
TX_BIP_PD_BUFFER_VBIAS_ERROR_E,
EFUSE_NUMBER_OF_PARAMETERS_E,
EFUSE_LAST_PARAMETER_E = (EFUSE_NUMBER_OF_PARAMETERS_E - 1)
-} EFUSE_PARAMETER_TYPE_ENM;
+};
int get_mac_addr(int ifc_num, unsigned char *mac_addr);