path: root/lib
diff options
authorH Hartley Sweeten <>2011-07-25 17:13:20 -0700
committerLinus Torvalds <>2011-07-25 20:57:15 -0700
commit72d39508e43689b9346dfc956fad5e94a8911886 (patch)
treef0322bf00a37f32c8aa2c3ad47686b65742b9be4 /lib
parentb09628ef56352a77bcf38e314869a8205c21a756 (diff)
lib/lcm.c: quiet sparse noise
The symbol 'lcm' is exported to the kernel (EXPORT_SYMBOL_GPL). Pick up it's definition in <linux/lcm.h> to quiet the sparse noise: warning: symbol 'lcm' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'lib')
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lcm.c b/lib/lcm.c
index 157cd88a6ffc..10b5cfcacf6b 100644
--- a/lib/lcm.c
+++ b/lib/lcm.c
@@ -1,6 +1,7 @@
#include <linux/kernel.h>
#include <linux/gcd.h>
#include <linux/module.h>
+#include <linux/lcm.h>
/* Lowest common multiple */
unsigned long lcm(unsigned long a, unsigned long b)