From: Jan Kiszka <
jan.k...@siemens.com>
Addressing a remark of cppcheck 2.17.
Signed-off-by: Jan Kiszka <
jan.k...@siemens.com>
---
drivers/utils/smbios.c | 2 +-
include/smbios.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/utils/smbios.c b/drivers/utils/smbios.c
index 18a052f..7539795 100644
--- a/drivers/utils/smbios.c
+++ b/drivers/utils/smbios.c
@@ -15,7 +15,7 @@
#include "smbios.h"
-SMBIOS_STRUCTURE_POINTER smbios_find_struct(SMBIOS_STRUCTURE_TABLE *table,
+SMBIOS_STRUCTURE_POINTER smbios_find_struct(SMBIOS_STRUCTURE_TABLE const *table,
UINT16 type)
{
SMBIOS_STRUCTURE_POINTER strct;
diff --git a/include/smbios.h b/include/smbios.h
index 9ca23ec..82d0583 100644
--- a/include/smbios.h
+++ b/include/smbios.h
@@ -17,5 +17,5 @@
#include <efi.h>
#include <efilib.h>
-SMBIOS_STRUCTURE_POINTER smbios_find_struct(SMBIOS_STRUCTURE_TABLE *table,
+SMBIOS_STRUCTURE_POINTER smbios_find_struct(SMBIOS_STRUCTURE_TABLE const *table,
UINT16 type);
--
2.47.3