diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-30 08:10:26 +0200 |
---|---|---|
committer | Jessica Yu <jeyu@kernel.org> | 2020-08-01 16:05:02 +0200 |
commit | ef1dac6021cc8ec5de02ce31722bf26ac4ed5523 (patch) | |
tree | 2165a1e5245def4108cbe413ee86eddae93fe81f /include/linux/module.h | |
parent | cd8732cdcc37d7077c4fa2c966b748c0662b607e (diff) | |
download | lwn-ef1dac6021cc8ec5de02ce31722bf26ac4ed5523.tar.gz lwn-ef1dac6021cc8ec5de02ce31722bf26ac4ed5523.zip |
modules: return licensing information from find_symbol
Report the GPLONLY status through a new argument.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to 'include/linux/module.h')
-rw-r--r-- | include/linux/module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index be04ba2f881d..30b0f5fcdb3c 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -582,7 +582,7 @@ struct module *find_module(const char *name); struct symsearch { const struct kernel_symbol *start, *stop; const s32 *crcs; - enum { + enum mod_license { NOT_GPL_ONLY, GPL_ONLY, WILL_BE_GPL_ONLY, |