Skip to contentSkip to conversation

powerpc: Fix build error caused by vga16fb

PATCH New Pranith Kumar 1 participant 1 message Aug 18, 2014 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: Fix build error caused by vga16fb

vga16fb causes a build failure on PPC 32 as follows

drivers/built-in.o: In function `vga16fb_probe':
drivers/video/fbdev/vga16fb.c:1326: undefined reference to vgacon_remap_base' drivers/video/fbdev/vga16fb.c:1326: undefined reference to vgacon_remap_base'
make: *** [vmlinux] Error 1

It was noted by Geert that in PPC, no one is setting vgacon_remap_base because of which it working on PPC is suspect.

Fix the build failure by disabling vga16fb on PPC.

---
 drivers/video/fbdev/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/fbdev/Kconfig +1 -1
index e911b9c..d236fe4 100644
@@ -547,7 +547,7 @@ config FB_IMSTT
 
 config FB_VGA16
 	tristate "VGA 16-color graphics support"
-	depends on FB && (X86 || PPC)
+	depends on FB && X86
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
Signature · 1 line
1.9.1