summaryrefslogtreecommitdiff
path: root/tools/testing/cxl/cxl_core_exports.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/cxl/cxl_core_exports.c')
-rw-r--r--tools/testing/cxl/cxl_core_exports.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/testing/cxl/cxl_core_exports.c b/tools/testing/cxl/cxl_core_exports.c
new file mode 100644
index 000000000000..077e6883921d
--- /dev/null
+++ b/tools/testing/cxl/cxl_core_exports.c
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
+/* Copyright(c) 2022 Intel Corporation. All rights reserved. */
+
+#include "cxl.h"
+
+/* Exporting of cxl_core symbols that are only used by cxl_test */
+EXPORT_SYMBOL_NS_GPL(cxl_num_decoders_committed, CXL);