summaryrefslogtreecommitdiff
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-30 08:10:21 +0200
committerJessica Yu <jeyu@kernel.org>2020-08-01 16:04:59 +0200
commit773110470e2fa3839523384ae014f8a723c4d178 (patch)
tree95297661649dd3e794350d6dd31b9b25331197d9 /include/linux/module.h
parent7ef5264de773279b9f23b6cc8afb5addb30e970b (diff)
modules: mark find_symbol static
find_symbol is only used in module.c. 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.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index f1fdbeef2153..90bdc362be36 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -591,17 +591,6 @@ struct symsearch {
};
/*
- * Search for an exported symbol by name.
- *
- * Must be called with module_mutex held or preemption disabled.
- */
-const struct kernel_symbol *find_symbol(const char *name,
- struct module **owner,
- const s32 **crc,
- bool gplok,
- bool warn);
-
-/*
* Walk the exported symbol table
*
* Must be called with module_mutex held or preemption disabled.