powerpc: fix building hvc_opal.c
authorMichael Neuling <mikey@neuling.org>
Mon, 7 Nov 2011 06:12:28 +0000 (17:12 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Nov 2011 06:21:18 +0000 (22:21 -0800)
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>
drivers/tty/hvc/hvc_opal.c

index 7b38512d6c419cd43690bca290ab4765220c409b..ced26c8ccd573eb8e6757a30681901b7a0ac88eb 100644 (file)
@@ -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>