diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2011-07-25 20:13:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 23:57:15 -0400 |
commit | 72d39508e43689b9346dfc956fad5e94a8911886 (patch) | |
tree | f0322bf00a37f32c8aa2c3ad47686b65742b9be4 /lib | |
parent | b09628ef56352a77bcf38e314869a8205c21a756 (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 <hsweeten@visionengravers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lcm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,6 +1,7 @@ | |||
1 | #include <linux/kernel.h> | 1 | #include <linux/kernel.h> |
2 | #include <linux/gcd.h> | 2 | #include <linux/gcd.h> |
3 | #include <linux/module.h> | 3 | #include <linux/module.h> |
4 | #include <linux/lcm.h> | ||
4 | 5 | ||
5 | /* Lowest common multiple */ | 6 | /* Lowest common multiple */ |
6 | unsigned long lcm(unsigned long a, unsigned long b) | 7 | unsigned long lcm(unsigned long a, unsigned long b) |