How to avoid volatiles
Prabhakar Lad
prabhakar.csengg at gmail.com
Fri Oct 14 05:21:16 EDT 2011
Hi everyone,
I had question in want eradicate volatile from here: for example:
#define 0x01c40800
if ((volatile void *)pllbase == (volatile void
*)DAVINCI_PLL_CNTRL0_BASE) /**HERE**/
return 8;
else
return pll_div(pllbase, PLLC_PREDIV);
Thanks.
Regards
--Prabhakar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111014/f1a93d71/attachment.html
More information about the Kernelnewbies
mailing list