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 7b38512..ced26c8 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>