WSL2-Linux-Kernel/drivers/lightnvm
Paul Gortmaker 389b2a1c0e lightnvm: make core.c explicitly non-modular
The Kconfig currently controlling compilation of this code is:

drivers/lightnvm/Kconfig:menuconfig NVM
drivers/lightnvm/Kconfig:       bool "Open-Channel SSD target support"

...meaning that it currently is not being built as a module by anyone.

Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.

Since module_misc_driver translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.

We also delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

We replace module.h with moduleparam.h because this file still uses
module params to control behaviour.

Also note that MODULE_ALIAS is a no-op for non-modular code.

Cc: Matias Bjorling <mb@lightnvm.io>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-10 16:55:45 +01:00
..
Kconfig lightnvm: NVM should depend on HAS_DMA 2016-09-21 07:56:10 -06:00
Makefile lightnvm: expose device geometry through sysfs 2016-09-21 07:57:31 -06:00
core.c lightnvm: make core.c explicitly non-modular 2016-11-10 16:55:45 +01:00
gennvm.c lightnvm: fix lun offset calculation for mark blk 2016-07-07 08:51:52 -06:00
gennvm.h lightnvm: move target mgmt into media mgr 2016-07-07 08:51:52 -06:00
lightnvm.h lightnvm: propagate device_add() error code 2016-09-21 07:57:32 -06:00
rrpc.c block: get rid of bio_rw and READA 2016-07-20 17:37:01 -06:00
rrpc.h lightnvm: make rrpc_map_page call nvm_get_blk outside locks 2016-07-07 08:51:52 -06:00
sysblk.c lightnvm: Make functions not used by ouside static 2016-07-07 08:51:52 -06:00
sysfs.c lightnvm: propagate device_add() error code 2016-09-21 07:57:32 -06:00