On Fri, Oct 14, 2011 at 2:51 PM, Prabhakar Lad <prabhakar.csengg@gmail.com> wrote:
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);



Hi,

Take a look at this:
http://www.netrino.com/Embedded-Systems/How-To/C-Volatile-Keyword

Regards,
Srivatsa S. Bhat