summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-01-08 23:42:47 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-01-11 18:34:05 +0100
commit7ee3aebe31d2cb22c84e1c8f48182947b13a3607 (patch)
tree4f7d4830a7c24211f4fdfdc461484988eb116de0 /lib
parentAdd LZO compression support for initramfs and old-style initrd (diff)
downloadlinux-7ee3aebe31d2cb22c84e1c8f48182947b13a3607.tar.xz
linux-7ee3aebe31d2cb22c84e1c8f48182947b13a3607.zip
lib/rational.c needs module.h
lib/rational.c:62: warning: data definition has no type or storage class lib/rational.c:62: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' lib/rational.c:62: warning: parameter names (without types) in function declaration Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Cc: Oskar Schirmer <os@emlix.com> Cc: <stable@kernel.org> 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/rational.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rational.c b/lib/rational.c
index b3c099b5478e..3ed247b80662 100644
--- a/lib/rational.c
+++ b/lib/rational.c
@@ -7,6 +7,7 @@
*/
#include <linux/rational.h>
+#include <linux/module.h>
/*
* calculate best rational approximation for a given fraction