summaryrefslogtreecommitdiff
path: root/tools/testing/cxl/mock_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/cxl/mock_mem.c')
-rw-r--r--tools/testing/cxl/mock_mem.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/testing/cxl/mock_mem.c b/tools/testing/cxl/mock_mem.c
new file mode 100644
index 000000000000..d1dec5845139
--- /dev/null
+++ b/tools/testing/cxl/mock_mem.c
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright(c) 2022 Intel Corporation. All rights reserved. */
+
+#include <linux/types.h>
+
+struct cxl_dev_state;
+bool cxl_dvsec_decode_init(struct cxl_dev_state *cxlds)
+{
+ return true;
+}