[RFC,PATCH 1/7 v2] Add a common struct clk
    Russell King - ARM Linux 
    linux at arm.linux.org.uk
       
    Tue Jan 12 20:01:49 EST 2010
    
    
  
On Tue, Jan 12, 2010 at 09:48:44AM +0100, Francesco VIRLINZI wrote:
> Hi Jeremy
> In November I already sent a proposal on
>  a generic linux clk framework.
> On that I would suggest:
>
>>
>> +struct clk {
>> +	const struct clk_operations *ops;
>>    
>            spinlock_t lock;
>            const char *name;
>            int id;
Name and ID are totally pointless, unless you insist on using the clk
API in the wrong way (like S3C does.)
    
    
More information about the Linuxppc-dev
mailing list