summaryrefslogtreecommitdiffstats
path: root/drivers/dax/Kconfig
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-05-08 12:33:53 -0700
committerDan Williams <dan.j.williams@intel.com>2017-05-09 09:08:22 -0700
commitcf1e22891bee39f50e058bee0827086fd75a8717 (patch)
treebc86051626667807a69b7f5daeb0ee9dc671f75c /drivers/dax/Kconfig
parentef51042472f55b325fd7f2b26a2e29fd89757234 (diff)
downloadlinux-stable-cf1e22891bee39f50e058bee0827086fd75a8717.tar.gz
linux-stable-cf1e22891bee39f50e058bee0827086fd75a8717.tar.bz2
linux-stable-cf1e22891bee39f50e058bee0827086fd75a8717.zip
device-dax: kill NR_DEV_DAX
There is no point to ask how many device-dax instances the kernel should support. Since we are already using a dynamic major number, just allow the max number of minors by default and be done. This also fixes the fact that the proposed max for the NR_DEV_DAX range was larger than what could be supported by alloc_chrdev_region(). Fixes: ba09c01d2fa8 ("dax: convert to the cdev api") Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/Kconfig')
-rw-r--r--drivers/dax/Kconfig5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/dax/Kconfig b/drivers/dax/Kconfig
index 6b7e20eae16c..b79aa8f7a497 100644
--- a/drivers/dax/Kconfig
+++ b/drivers/dax/Kconfig
@@ -28,9 +28,4 @@ config DEV_DAX_PMEM
Say Y if unsure
-config NR_DEV_DAX
- int "Maximum number of Device-DAX instances"
- default 32768
- range 256 2147483647
-
endif