[PATCH] memory-tiers: multi-definition fixup
From: Gregory Price
Date: Thu Nov 13 2025 - 09:58:24 EST
mt_set_node_type should be static
Signed-off-by: Gregory Price <gourry@xxxxxxxxxx>
---
include/linux/memory-tiers.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/memory-tiers.h b/include/linux/memory-tiers.h
index 59443cbfaec3..aed9dc9e0c82 100644
--- a/include/linux/memory-tiers.h
+++ b/include/linux/memory-tiers.h
@@ -194,7 +194,7 @@ static inline void mt_put_memory_types(struct list_head *memory_types)
{
}
-int mt_set_node_type(int node, int type)
+static int mt_set_node_type(int node, int type)
{
return 0;
}
--
2.51.1