Skip to content

Commit

Permalink
drivers/video/nuc900fb.c: fix lcd build error
Browse files Browse the repository at this point in the history
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: Wan ZongShun <mcuos.com@gmail.com>
Cc: Qiang Wang <rurality.wq@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Wan ZongShun authored and Linus Torvalds committed Jun 29, 2010
1 parent 46c23d7 commit 032093b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/video/nuc900fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 032093b

Please sign in to comment.