Commit 032093bd authored by Wan ZongShun's avatar Wan ZongShun Committed by Linus Torvalds

drivers/video/nuc900fb.c: fix lcd build error

Fix a nuc900 lcd build error.

Since the 'nuc900_driver_clksrc_div()' API cannot be merged into mainline
successfully, I removed this clock source selection hook in this driver.
This means nuc900 lcd driver has to select default clock source from the
external crystal now.
Signed-off-by: default avatarWan ZongShun <mcuos.com@gmail.com>
Cc: Qiang Wang <rurality.wq@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 46c23d7f
...@@ -596,8 +596,6 @@ static int __devinit nuc900fb_probe(struct platform_device *pdev) ...@@ -596,8 +596,6 @@ static int __devinit nuc900fb_probe(struct platform_device *pdev)
goto release_regs; goto release_regs;
} }
nuc900_driver_clksrc_div(&pdev->dev, "ext", 0x2);
fbi->clk = clk_get(&pdev->dev, NULL); fbi->clk = clk_get(&pdev->dev, NULL);
if (!fbi->clk || IS_ERR(fbi->clk)) { if (!fbi->clk || IS_ERR(fbi->clk)) {
printk(KERN_ERR "nuc900-lcd:failed to get lcd clock source\n"); printk(KERN_ERR "nuc900-lcd:failed to get lcd clock source\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment