From: Michael Neuling <mikey@neuling.org>
Date: Mon, 7 Nov 2011 06:12:28 +0000 (+1100)
Subject: powerpc: fix building hvc_opal.c
X-Git-Tag: firefly_0821_release~3680^2~4161
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0084e4751e63a71b30f315710f976f8bb0c2cc07;p=firefly-linux-kernel-4.4.55.git

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>
---

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>