aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-05-11 13:16:42 +0100
committerMark Brown <broonie@kernel.org>2020-05-11 13:16:42 +0100
commit4f43adcdc6a96aba65d29ad15f6296a4940026fc (patch)
tree4877a6600d37cc67fa180089592edc06892f8245
parentMerge tag 'linear-ranges-lib' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-5.8 (diff)
parentlib: linear_ranges: Add missing MODULE_LICENSE() (diff)
downloadwireguard-linux-4f43adcdc6a96aba65d29ad15f6296a4940026fc.tar.xz
wireguard-linux-4f43adcdc6a96aba65d29ad15f6296a4940026fc.zip
Merge branch 'topic/linear-range' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-5.8
-rw-r--r--lib/linear_ranges.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/linear_ranges.c b/lib/linear_ranges.c
index d1336c75ccd7..9495ef3572b7 100644
--- a/lib/linear_ranges.c
+++ b/lib/linear_ranges.c
@@ -12,6 +12,7 @@
#include <linux/export.h>
#include <linux/kernel.h>
#include <linux/linear_range.h>
+#include <linux/module.h>
/**
* linear_range_values_in_range - return the amount of values in a range
@@ -239,3 +240,6 @@ int linear_range_get_selector_high(const struct linear_range *r,
return 0;
}
EXPORT_SYMBOL_GPL(linear_range_get_selector_high);
+
+MODULE_DESCRIPTION("linear-ranges helper");
+MODULE_LICENSE("GPL");