How to avoid volatiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux