]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
omap2: use symbolic constant to mark parent-controlled clocks in clock.[ch]
authorPaul Walmsley <paul@pwsan.com>
Thu, 3 May 2007 23:23:27 +0000 (23:23 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 3 May 2007 23:24:22 +0000 (23:24 +0000)
commit125e9be661e18399133e9124af724e0d286a7143
tree57b89500a564d1015bb1450c413932d6f25693ce
parent39cb2b7733a5f56c02ee2a953828c172545ad473
omap2: use symbolic constant to mark parent-controlled clocks in clock.[ch]

The current OMAP2 clock management code uses a magic number, 0xff, to
indicate that the clock's parent will handle enabling and disabling the
clock.  Move the magic number into a symbolic constant for readability.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h