ARM: tegra: clock: Move unshared clk struct members into union
commitf151961173bf28047d01b410969f05e485f56d7e
authorColin Cross <ccross@android.com>
Sun, 13 Feb 2011 00:05:31 +0000 (12 16:05 -0800)
committerColin Cross <ccross@android.com>
Mon, 21 Feb 2011 08:10:11 +0000 (21 00:10 -0800)
tree02a9d357cf99d2002b98c8a18002322ef5c5c3d8
parent3ec349fbf1e88e84d4dffc54b6cb32129a32b7b0
ARM: tegra: clock: Move unshared clk struct members into union

Creates a union of a struct for each type of clock to reduce memory
usage and clarify which members are used by all clocks and which are
used by a single type.

Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/clock.h
arch/arm/mach-tegra/tegra2_clocks.c