[PATCH] qe: add function qe_clock_source

Timur Tabi timur at freescale.com
Wed Oct 10 05:18:16 EST 2007


Kumar Gala wrote:

> Ok.  I guess I'm not in favor of changing the device tree to address 
> this issue.  I think it would be solved if "dtc" had #define support.

Not really.  The #defines would then need to match the enum, and that's dual 
maintenance.  This method is better because you can use the real name of the 
clock source in the DTS.  That keeps the DTS from having to know the internal 
representation of clock sources.

(BTW, when I said "I just understand", I meant "I just don't understand".)

-- 
Timur Tabi
Linux Kernel Developer @ Freescale



More information about the Linuxppc-dev mailing list