From: Michael Neuling <mikey@neuling.org>
To: benh@kernel.crashing.org, Paul Mackerras <paulus@samba.org>,
linuxppc-dev@ozlabs.org, sfr@canb.auug.org.au,
Paul Gortmaker <paul.gortmaker@windriver.com>,
torvalds@linux-foundation.org
Subject: [PATCH] powerpc: fix building hvc_opal.c
Date: Mon, 07 Nov 2011 17:12:28 +1100 [thread overview]
Message-ID: <26601.1320646348@neuling.org> (raw)
In-Reply-To: <26327.1320645941@neuling.org>
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>
--
Actually, this is the right fix.
sfr says this was a merge conflict between the module.h split up and the
powerpc tree, which were both merged by Linus today.
diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c
index 7b38512..ced26c8 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>
prev parent reply other threads:[~2011-11-07 6:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-07 6:05 [PATCH] powerpc: fix building hvc_opal.c Michael Neuling
2011-11-07 6:12 ` Michael Neuling [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26601.1320646348@neuling.org \
--to=mikey@neuling.org \
--cc=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paul.gortmaker@windriver.com \
--cc=paulus@samba.org \
--cc=sfr@canb.auug.org.au \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.