diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-05-08 21:33:53 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-05-09 18:08:22 +0200 |
commit | cf1e22891bee39f50e058bee0827086fd75a8717 (patch) | |
tree | bc86051626667807a69b7f5daeb0ee9dc671f75c /drivers/dax/Kconfig | |
parent | block, dax: move "select DAX" from BLOCK to FS_DAX (diff) | |
download | linux-cf1e22891bee39f50e058bee0827086fd75a8717.tar.xz linux-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/Kconfig | 5 |
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 |