Skip to contentSkip to conversation

Compile error fixes

PATCH New Grant Likely 1 participant 3 messages Oct 14, 2007

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover Compile error fixes

Linus,

Here are two fixes which should go in immediately. The first is change to lite5200 which got lost when it was merged. The second is a brown-paper-bag typo.

Cheers,
g.

--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.

#1 lore raw

PATCH 1/2 Lite5200 shouldn't mess with ROOT_DEV

From: Grant Likely <[email protected]>

There is no good reason for board platform code to mess with the ROOT_DEV. Remove it from all in-tree platforms except powermac

This is a follow on to commit 745e1027751acbc1f14f8bbef378b491242b9c83. The original patch had this change to lite5200.c, but it got dropped in the psycho madness that is the 2.6.24 merge window.

---

 arch/powerpc/platforms/52xx/lite5200.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
arch/powerpc/platforms/52xx/lite5200.c +0 -12
index 0caa3d9..a0b4934 100644
@@ -156,18 +156,6 @@ static void __init lite5200_setup_arch(void)
 		of_node_put(np);
 	}
 #endif
-
-#ifdef CONFIG_BLK_DEV_INITRD
-	if (initrd_start)
-		ROOT_DEV = Root_RAM0;
-	else
-#endif
-#ifdef  CONFIG_ROOT_NFS
-		ROOT_DEV = Root_NFS;
-#else
-		ROOT_DEV = Root_HDA1;
-#endif
-
 }
 
 /*
#2 lore raw

PATCH 2/2 XilinxFB: typo bugfix

In reply to Grant Likely

From: Grant Likely <[email protected]>

---

 drivers/video/xilinxfb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/xilinxfb.c +1 -1
index 6ef99b2..e38d3b7 100644
@@ -84,7 +84,7 @@ static struct xilinxfb_platform_data xilinx_fb_default_pdata = {
 	.xres = 640,
 	.yres = 480,
 	.xvirt = 1024,
-	.yvirt = 480;
+	.yvirt = 480,
 };
 
 /*