Skip to contentSkip to conversation

Fix atyfb build on ppc

PATCH Geert Uytterhoeven 1 participant 1 message Apr 1, 2005 1 message not in the archive Framebuffer layer

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 23 lines · Linux Kernel Mailing List

ChangeSet 1.2305, 2005/03/31 08:49:44-08:00, [email protected]

[PATCH] Fix atyfb build on ppc

This patch fixes a build problem with atyfb on ppc. It uses the stuff in macmodes.c, but doesn't trigger the build of it. So if no other driver using macmodes is built, the link will fail.

 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -Nru a/drivers/video/Makefile b/drivers/video/Makefile

drivers/video/Makefile line 37

Quoted 10 lines
drivers/video/Makefile +2 -2
@@ -30,8 +30,8 @@
 obj-$(CONFIG_FB_MATROX)		  += matrox/
 obj-$(CONFIG_FB_RIVA)		  += riva/ vgastate.o
 obj-$(CONFIG_FB_NVIDIA)		  += nvidia/
-obj-$(CONFIG_FB_ATY)		  += aty/
-obj-$(CONFIG_FB_ATY128)		  += aty/
+obj-$(CONFIG_FB_ATY)		  += aty/ macmodes.o
+obj-$(CONFIG_FB_ATY128)		  += aty/ macmodes.o
 obj-$(CONFIG_FB_RADEON)		  += aty/
 obj-$(CONFIG_FB_SIS)		  += sis/
 obj-$(CONFIG_FB_KYRO)             += kyro/

Isn't this one obsoleted by `fbdev: Kconfig fix for macmodes and PPC', which also went in?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30