]> git.karo-electronics.de Git - karo-tx-linux.git/commit
OMAP4: PRCM: Define shift macros as n instead of 1 << n
authorRajendra Nayak <rnayak@ti.com>
Wed, 27 Jan 2010 03:13:12 +0000 (20:13 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 29 Jan 2010 17:14:22 +0000 (10:14 -0700)
commit56ef28acf122d30b137851aa6a599ba48319a6b0
tree7ccdbdd45d6807691d1eaae19a07c9b6d230c04b
parente80a9729b15f4c2c00ed51d61aa543fb4269d5ca
OMAP4: PRCM: Define shift macros as n instead of 1 << n

The macros defining the shift bits in registers for various
register bit fields are defined as 1 << n.
Instead define them as n. They can then be used as val << n.
The changes are generated by updating the script which autogenerates
the files modifed in the patch.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/cm-regbits-44xx.h
arch/arm/mach-omap2/prm-regbits-44xx.h