]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5411360ada8d718a43adff10378e714ead87b26a
treeed3d37f2daf35ecfef427e0b699dc60de124401f
parenta282b38ee699ba3233656cc6601e329eb38e7799
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