blob: 43fc4f3e7927d4e73ae29eece95ad364b75397b2 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001// SPDX-License-Identifier: GPL-2.0
2// Copyright(c) 2018 Intel Corporation. All rights reserved.
3#ifndef _TEST_NVDIMM_WATERMARK_H_
4#define _TEST_NVDIMM_WATERMARK_H_
5int pmem_test(void);
6int libnvdimm_test(void);
7int acpi_nfit_test(void);
8int device_dax_test(void);
David Brazdil0f672f62019-12-10 10:32:29 +00009int dax_pmem_test(void);
10int dax_pmem_core_test(void);
11int dax_pmem_compat_test(void);
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000012
13/*
14 * dummy routine for nfit_test to validate it is linking to the properly
15 * mocked module and not the standard one from the base tree.
16 */
17#define nfit_test_watermark(x) \
18int x##_test(void) \
19{ \
20 pr_debug("%s for nfit_test\n", KBUILD_MODNAME); \
21 return 0; \
22} \
23EXPORT_SYMBOL(x##_test)
24#endif /* _TEST_NVDIMM_WATERMARK_H_ */