diff options
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | 2020-05-09 18:15:19 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-11 11:55:28 +0100 |
commit | 35e65600808e257547f53f5c69c1a4eb6fc01c49 (patch) | |
tree | 63b0f95a604e5bbd1fd3d0c64284d6160edc88f8 /lib | |
parent | 60ab7f4153b6af461c90d572c31104086b44639f (diff) |
lib: linear_ranges: Add missing MODULE_LICENSE()
When linear_ranges is compiled as module we get warning
about missing MODULE_LICENSE(). Fix it by adding
MODULE_LICENSE("GPL") as is suggested by SPDX and EXPORTs.
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20200509151519.GA7100@localhost.localdomain
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/linear_ranges.c | 4 |
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"); |