summaryrefslogtreecommitdiffstats
path: root/drivers/tty/hvc
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2011-11-07 17:12:28 +1100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-06 22:21:18 -0800
commit0084e4751e63a71b30f315710f976f8bb0c2cc07 (patch)
tree9973621cd75652f53a7c8e76470f7e01b8281678 /drivers/tty/hvc
parentb32fc0a0629bf5894b35f33554c118aacfd0d1e2 (diff)
downloadblackbird-op-linux-0084e4751e63a71b30f315710f976f8bb0c2cc07.tar.gz
blackbird-op-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>
OpenPOWER on IntegriCloud