aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-30 08:10:26 +0200
committerJessica Yu <jeyu@kernel.org>2020-08-01 16:05:02 +0200
commitef1dac6021cc8ec5de02ce31722bf26ac4ed5523 (patch)
tree2165a1e5245def4108cbe413ee86eddae93fe81f /include/linux/module.h
parentmodules: rename the licence field in struct symsearch to license (diff)
downloadlinux-dev-ef1dac6021cc8ec5de02ce31722bf26ac4ed5523.tar.xz
linux-dev-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.h2
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,