mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Compile error fixes
@ 2007-10-14  4:13 Grant Likely
  2007-10-14  4:13 ` [PATCH 1/2] Lite5200 shouldn't mess with ROOT_DEV Grant Likely
  2007-10-14  4:13 ` [PATCH 2/2] XilinxFB: typo bugfix Grant Likely
  0 siblings, 2 replies; 3+ messages in thread
From: Grant Likely @ 2007-10-14  4:13 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linuxppc-dev, linux-kernel, Al Viro, paulus

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.

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

* [PATCH 1/2] Lite5200 shouldn't mess with ROOT_DEV
  2007-10-14  4:13 [PATCH 0/2] Compile error fixes Grant Likely
@ 2007-10-14  4:13 ` Grant Likely
  2007-10-14  4:13 ` [PATCH 2/2] XilinxFB: typo bugfix Grant Likely
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Likely @ 2007-10-14  4:13 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linuxppc-dev, linux-kernel, Al Viro, paulus

From: Grant Likely <grant.likely@secretlab.ca>

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.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---

 arch/powerpc/platforms/52xx/lite5200.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/arch/powerpc/platforms/52xx/lite5200.c b/arch/powerpc/platforms/52xx/lite5200.c
index 0caa3d9..a0b4934 100644
--- a/arch/powerpc/platforms/52xx/lite5200.c
+++ b/arch/powerpc/platforms/52xx/lite5200.c
@@ -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
-
 }
 
 /*


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

* [PATCH 2/2] XilinxFB: typo bugfix
  2007-10-14  4:13 [PATCH 0/2] Compile error fixes Grant Likely
  2007-10-14  4:13 ` [PATCH 1/2] Lite5200 shouldn't mess with ROOT_DEV Grant Likely
@ 2007-10-14  4:13 ` Grant Likely
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Likely @ 2007-10-14  4:13 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linuxppc-dev, linux-kernel, Al Viro, paulus

From: Grant Likely <grant.likely@secretlab.ca>

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---

 drivers/video/xilinxfb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c
index 6ef99b2..e38d3b7 100644
--- a/drivers/video/xilinxfb.c
+++ b/drivers/video/xilinxfb.c
@@ -84,7 +84,7 @@ static struct xilinxfb_platform_data xilinx_fb_default_pdata = {
 	.xres = 640,
 	.yres = 480,
 	.xvirt = 1024,
-	.yvirt = 480;
+	.yvirt = 480,
 };
 
 /*


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

end of thread, other threads:[~2007-10-14  4:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-14  4:13 [PATCH 0/2] Compile error fixes Grant Likely
2007-10-14  4:13 ` [PATCH 1/2] Lite5200 shouldn't mess with ROOT_DEV Grant Likely
2007-10-14  4:13 ` [PATCH 2/2] XilinxFB: typo bugfix Grant Likely

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

all inboxes | Powered by JetHome®