Dan Williams | 6bc7561 | 2015-06-17 17:23:32 -0400 | [diff] [blame^] | 1 | #include <linux/kconfig.h> |
2 | #include <linux/bug.h> | ||||
3 | |||||
4 | void check(void) | ||||
5 | { | ||||
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_BLK)); | ||||
14 | BUILD_BUG_ON(!IS_MODULE(CONFIG_ACPI_NFIT)); | ||||
15 | } |