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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/math/rational.c b/lib/math/rational.c
index df75c8809693..9781d521963d 100644
--- a/lib/math/rational.c
+++ b/lib/math/rational.c
@@ -11,7 +11,7 @@
#include <linux/rational.h>
#include <linux/compiler.h>
#include <linux/export.h>
-#include <linux/kernel.h>
+#include <linux/minmax.h>
/*
* calculate best rational approximation for a given fraction