public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] matroxfb compile error
@ 2005-03-15 17:20 Joel Schopp
  2005-03-16 23:17 ` Jon Smirl
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Schopp @ 2005-03-15 17:20 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]

When compiling 2.6.11-bk10 I get a compile error.  The attached patch 
fixes it for me.  Please apply if you haven't gotten another patch for 
this already.

[-- Attachment #2: matrox.patch --]
[-- Type: text/plain, Size: 859 bytes --]


This patch fixes this compile error by causing the object that
contains the referenced function to be built:

drivers/built-in.o(.text+0x26db8): In function `.initMatrox2':
: undefined reference to `.mac_vmode_to_var' 

Signed-off-by: Joel Schopp <jschopp@austin.ibm.com>
---


diff -puN drivers/video/Makefile~matrox drivers/video/Makefile
--- 2.6.11-bk10/drivers/video/Makefile~matrox	2005-03-15 11:08:44.000000000 -0600
+++ 2.6.11-bk10-jschopp/drivers/video/Makefile	2005-03-15 11:12:08.000000000 -0600
@@ -26,7 +26,7 @@ obj-$(CONFIG_FB_CYBER2000)        += cyb
 obj-$(CONFIG_FB_PM2)              += pm2fb.o
 obj-$(CONFIG_FB_PM3)		  += pm3fb.o
 
-obj-$(CONFIG_FB_MATROX)		  += matrox/
+obj-$(CONFIG_FB_MATROX)		  += matrox/ macmodes.o
 obj-$(CONFIG_FB_RIVA)		  += riva/ vgastate.o
 obj-$(CONFIG_FB_NVIDIA)		  += nvidia/
 obj-$(CONFIG_FB_ATY)		  += aty/
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-16 23:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-15 17:20 [PATCH] matroxfb compile error Joel Schopp
2005-03-16 23:17 ` Jon Smirl

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