summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-13 02:03:13 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-13 05:54:16 +0300
commitb6d4f3221d7fe00d440edaeeb6cde7257ae63a73 (patch)
tree579443973544634e485a00ad447d2f2cf9285045
parent2ddae683bf36d50b960402a94a55047ab0c73e2c (diff)
downloadlinux-b6d4f3221d7fe00d440edaeeb6cde7257ae63a73.tar.xz
lib/stmp_device.c: replace module.h include
stmp_device.c only needs EXPORT_SYMBOL, so just include compiler.h and export.h instead of the whole module.h machinery. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--lib/stmp_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stmp_device.c b/lib/stmp_device.c
index 8ac9bcc4289a..a904656f4fd7 100644
--- a/lib/stmp_device.c
+++ b/lib/stmp_device.c
@@ -15,7 +15,8 @@
#include <linux/io.h>
#include <linux/errno.h>
#include <linux/delay.h>
-#include <linux/module.h>
+#include <linux/compiler.h>
+#include <linux/export.h>
#include <linux/stmp_device.h>
#define STMP_MODULE_CLKGATE (1 << 30)