summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2011-07-26 02:13:20 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-26 05:57:15 +0200
commit72d39508e43689b9346dfc956fad5e94a8911886 (patch)
treef0322bf00a37f32c8aa2c3ad47686b65742b9be4
parentmach-ux500: add lm3530 ALS platform data for U5500 (diff)
downloadlinux-72d39508e43689b9346dfc956fad5e94a8911886.tar.xz
linux-72d39508e43689b9346dfc956fad5e94a8911886.zip
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 <hsweeten@visionengravers.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--lib/lcm.c1
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)