OMAP2xxx clock: remove implicit dependency between rate CPU flag and clkdev_omap...
authorPaul Walmsley <paul@pwsan.com>
Tue, 8 Dec 2009 23:18:47 +0000 (16:18 -0700)
committerpaul <paul@twilight.(none)>
Fri, 11 Dec 2009 23:12:11 +0000 (16:12 -0700)
commit75d43340113e3822e390f644e8b197737e4c553e
treeed3d37f2daf35ecfef427e0b699dc60de124401f
parent55d8a65308a5099155683c5a9bba3b8577988111
OMAP2xxx clock: remove implicit dependency between rate CPU flag and clkdev_omap CPU flag

cpu_mask is reused in the OMAP2xxx clock code to match against both the
CPU-specific rate flags (e.g., RATE_IN_2420) and the OMAP clkdev integration
code CPU flags (e.g., CK_242X).  This means that any patch that renumbers the
CK_* macros, as the next patch does, will probably break.  This patch
separates the clkdev_omap and clksel_rate CPU type detection flags so
the CK_* macros can be renumbered freely.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock24xx.c