diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-06-07 02:03:17 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-06-18 01:23:23 +0200 |
commit | 6b0a57ed43b9c24177676b366c926614d24b13b4 (patch) | |
tree | 3ee885636dfa6375ca140382c5c58a7e44992b32 /tools/testing/nvdimm/config_check.c | |
parent | libnvdimm: IS_ERR() usage cleanup (diff) | |
download | linux-6b0a57ed43b9c24177676b366c926614d24b13b4.tar.xz linux-6b0a57ed43b9c24177676b366c926614d24b13b4.zip |
tools/testing/nvdimm: add pfn device dependency
Fail building nfit_test.ko when the configuration is missing pfn device
support.
Reported-by: Megha Dey <megha.dey@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing/nvdimm/config_check.c')
-rw-r--r-- | tools/testing/nvdimm/config_check.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/nvdimm/config_check.c b/tools/testing/nvdimm/config_check.c index adf18bfeca00..878daf3429e8 100644 --- a/tools/testing/nvdimm/config_check.c +++ b/tools/testing/nvdimm/config_check.c @@ -10,6 +10,7 @@ void check(void) BUILD_BUG_ON(!IS_MODULE(CONFIG_LIBNVDIMM)); BUILD_BUG_ON(!IS_MODULE(CONFIG_BLK_DEV_PMEM)); BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BTT)); + BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_PFN)); BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BLK)); BUILD_BUG_ON(!IS_MODULE(CONFIG_ACPI_NFIT)); BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX)); |