public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix rivafb build on ppc64
@ 2004-02-12  5:43 Benjamin Herrenschmidt
  0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2004-02-12  5:43 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton; +Cc: Linux Kernel list

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"



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-12  5:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-12  5:43 [PATCH] fix rivafb build on ppc64 Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox