Skip to contentSkip to conversation

NUC900/lcd: patch to fix nuc900 lcd build error

PATCH New Wan ZongShun 1 participant 2 messages Jun 24, 2010 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NUC900/lcd: patch to fix nuc900 lcd build error

Hi Andrew,

This patch is to fix nuc900 lcd build error.
Since the 'nuc900_driver_clksrc_div()' API can not be merged into mainline successfully, so I remove this clock source selection hook in this driver. That means nuc900 lcd driver has to select default clock source from external crystal now.

Thanks!

---
 drivers/video/nuc900fb.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/video/nuc900fb.c +0 -2
index d4cde79..81687ed 100644
@@ -596,8 +596,6 @@ static int __devinit nuc900fb_probe(struct platform_device *pdev)
 		goto release_regs;
 	}
 
-	nuc900_driver_clksrc_div(&pdev->dev, "ext", 0x2);
-
 	fbi->clk = clk_get(&pdev->dev, NULL);
 	if (!fbi->clk || IS_ERR(fbi->clk)) {
 		printk(KERN_ERR "nuc900-lcd:failed to get lcd clock source\n");
Signature · 1 line
1.6.3.3
#1 lore raw

PATCH 1/1 NUC900/lcd: patch to fix nuc900 lcd build error

Sorry, I have to resent it to the correct LCD mail list.

Hi Andrew,

This patch is to fix nuc900 lcd build error.
Since the 'nuc900_driver_clksrc_div()' API can not be merged into mainline successfully, so I remove this clock source selection hook in this driver. That means nuc900 lcd driver has to select default clock source from external crystal now.

Thanks!

---
 drivers/video/nuc900fb.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/video/nuc900fb.c +0 -2
index d4cde79..81687ed 100644
@@ -596,8 +596,6 @@ static int __devinit nuc900fb_probe(struct platform_device *pdev)
 		goto release_regs;
 	}
 
-	nuc900_driver_clksrc_div(&pdev->dev, "ext", 0x2);
-
 	fbi->clk = clk_get(&pdev->dev, NULL);
 	if (!fbi->clk || IS_ERR(fbi->clk)) {
 		printk(KERN_ERR "nuc900-lcd:failed to get lcd clock source\n");
Signature · 1 line
1.6.3.3