summaryrefslogtreecommitdiffstats
path: root/drivers/tty/hvc
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2011-11-07 07:12:28 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-07 07:21:18 +0100
commit0084e4751e63a71b30f315710f976f8bb0c2cc07 (patch)
tree9973621cd75652f53a7c8e76470f7e01b8281678 /drivers/tty/hvc
parentMerge branch 'upstream/jump-label-noearly' of git://git.kernel.org/pub/scm/li... (diff)
downloadlinux-0084e4751e63a71b30f315710f976f8bb0c2cc07.tar.xz
linux-0084e4751e63a71b30f315710f976f8bb0c2cc07.zip
powerpc: fix building hvc_opal.c
Fix building following build error: drivers/tty/hvc/hvc_opal.c:244:12: error: 'THIS_MODULE' undeclared here (not in a function) Signed-off-by: Michael Neuling <mikey@neuling.org> [ New file from powerpc tree not following the new rules from the module.h split, both of which were merged today. - Linus ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/tty/hvc')
-rw-r--r--drivers/tty/hvc/hvc_opal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c
index 7b38512d6c41..ced26c8ccd57 100644
--- a/drivers/tty/hvc/hvc_opal.c
+++ b/drivers/tty/hvc/hvc_opal.c
@@ -28,6 +28,7 @@
#include <linux/console.h>
#include <linux/of.h>
#include <linux/of_platform.h>
+#include <linux/export.h>
#include <asm/hvconsole.h>
#include <asm/prom.h>