drm/ast: Only warn about unsupported TX chips on Gen4 and later
[drm/drm-misc.git] / tools / testing / nvdimm / config_check.c
blobbaed75e2ccbc1d657587fe4f2f9f6e608b5fc89d
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/bug.h>
4 void check(void)
6 /*
7 * These kconfig symbols must be set to "m" for nfit_test to
8 * load and operate.
9 */
10 BUILD_BUG_ON(!IS_MODULE(CONFIG_LIBNVDIMM));
11 BUILD_BUG_ON(!IS_MODULE(CONFIG_BLK_DEV_PMEM));
12 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BTT));
13 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_PFN));
14 if (IS_ENABLED(CONFIG_ACPI_NFIT))
15 BUILD_BUG_ON(!IS_MODULE(CONFIG_ACPI_NFIT));
16 BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX));
17 BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX_PMEM));