<br><br><div class="gmail_quote">On Tue, Jan 5, 2010 at 11:43 AM, Wan ZongShun <span dir="ltr"><<a href="http://mcuos.com">mcuos.com</a>@<a href="http://gmail.com">gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2010/1/5 王强 <<a href="mailto:rurality.linux@gmail.com">rurality.linux@gmail.com</a>>:<br>
<div><div></div><div class="h5">><br>
><br>
> 2010/1/5 Russell King - ARM Linux <<a href="mailto:linux@arm.linux.org.uk">linux@arm.linux.org.uk</a>><br>
>><br>
>> 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>
>> > +++++++++++++++++++++++<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<br>
>> > divider);<br>
>> > +<br>
>><br>
>> I'd prefer it if this header didn't get used for non-clkdev<->plat code<br>
>> stuff.<br>
><br>
> So, you mean I can use this header in the LCD driver of nuc900 plat?<br>
><br>
<br>
</div></div>Hmmm, I don't think so.<br>
<br>
I think it is better to implement other API as Ben Dooks mentioned,<br>
but if you want to use<br>
this API provided by me, we have to add the extern to other header<br>
file rather than the specific clkdev header file.<br>
<br>
So, please wait me for new patch.</blockquote><div><br></div><div>Ok, thank you.</div><div>I can not display the Linux Logo correctly.</div><div>I debug the kernel, it gave the wrong size of logo cols x rows = 40 x 15.</div>
<div>Any Idea?</div><div><br></div><div> </div></div>