Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 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>

authored by

Wan ZongShun and committed by
Linus Torvalds
032093bd 46c23d7f

-2
-2
drivers/video/nuc900fb.c
··· 596 596 goto release_regs; 597 597 } 598 598 599 - nuc900_driver_clksrc_div(&pdev->dev, "ext", 0x2); 600 - 601 599 fbi->clk = clk_get(&pdev->dev, NULL); 602 600 if (!fbi->clk || IS_ERR(fbi->clk)) { 603 601 printk(KERN_ERR "nuc900-lcd:failed to get lcd clock source\n");