From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: [PATCH] fix rivafb build on ppc64
Date: Thu, 12 Feb 2004 16:43:56 +1100 [thread overview]
Message-ID: <1076564635.866.170.camel@gaston> (raw)
Hi Linus, Andrew !
rivafb is part of the g5 defconfig, but will cause a build error
on ppc64 due to a missing #include, here is a fix, please apply:
===== drivers/video/riva/fbdev.c 1.51 vs edited =====
--- 1.51/drivers/video/riva/fbdev.c Wed Feb 4 16:29:30 2004
+++ edited/drivers/video/riva/fbdev.c Thu Feb 12 16:39:59 2004
@@ -44,6 +44,10 @@
#ifdef CONFIG_MTRR
#include <asm/mtrr.h>
#endif
+#ifdef CONFIG_PPC_OF
+#include <asm/prom.h>
+#include <asm/pci-bridge.h>
+#endif
#include "rivafb.h"
#include "nvreg.h"
reply other threads:[~2004-02-12 5:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1076564635.866.170.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox