<br><br><div class="gmail_quote">2010/1/5 Russell King - ARM Linux <span dir="ltr"><<a href="mailto:linux@arm.linux.org.uk">linux@arm.linux.org.uk</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sat, Jan 02, 2010 at 11:44:45PM +0800, Wan ZongShun wrote:<br>
> Dear Wang Qiang,<br>
><br>
> This patch provides a API for your LCD driver or other drivers, if you<br>
> want to use those APIs, please include corresponding header file.<br>
><br>
> Signed-off-by: Wan ZongShun <<a href="http://mcuos.com" target="_blank">mcuos.com</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>><br>
> ---<br>
> arch/arm/mach-w90x900/include/mach/clkdev.h | 3 +++<br>
> arch/arm/mach-w90x900/include/mach/mfp.h | 23 +++++++++++++++++++++++<br>
> 2 files changed, 26 insertions(+), 0 deletions(-)<br>
> create mode 100644 arch/arm/mach-w90x900/include/mach/mfp.h<br>
><br>
> diff --git a/arch/arm/mach-w90x900/include/mach/clkdev.h<br>
> b/arch/arm/mach-w90x900/include/mach/clkdev.h<br>
> index 04b37a8..b35f4bc 100644<br>
> --- a/arch/arm/mach-w90x900/include/mach/clkdev.h<br>
> +++ b/arch/arm/mach-w90x900/include/mach/clkdev.h<br>
> @@ -4,4 +4,7 @@<br>
> #define __clk_get(clk) ({ 1; })<br>
> #define __clk_put(clk) do { } while (0)<br>
><br>
> +extern void nuc900_driver_clksrc_div(struct device *dev, unsigned char<br>
> *src,<br>
> + unsigned char divider);<br>
> +<br>
<br>
</div>I'd prefer it if this header didn't get used for non-clkdev<->plat code<br>
stuff.</blockquote><div><br></div><div>So, you mean I can use this header in the LCD driver of nuc900 plat? </div><div><br></div><div> </div></div>