summaryrefslogtreecommitdiff
path: root/lib/math/rational.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/math/rational.c')
-rw-r--r--lib/math/rational.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/math/rational.c b/lib/math/rational.c
index c0ab51d8fbb9..ec59d426ea63 100644
--- a/lib/math/rational.c
+++ b/lib/math/rational.c
@@ -13,6 +13,7 @@
#include <linux/export.h>
#include <linux/minmax.h>
#include <linux/limits.h>
+#include <linux/module.h>
/*
* calculate best rational approximation for a given fraction
@@ -106,3 +107,5 @@ void rational_best_approximation(
}
EXPORT_SYMBOL(rational_best_approximation);
+
+MODULE_LICENSE("GPL v2");