imx/clock-imx27: use a macro to define registers
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 11 Dec 2009 08:57:27 +0000 (09:57 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 5 Jan 2010 09:10:07 +0000 (10:10 +0100)
commitb70564686a3a3eac7c2da09722091dcf5b07d5a4
tree970f3af45ef4db06196401a3595bc715d991d5e7
parent318859fdff2caf4455749ff0097efb8f3e9b6879
imx/clock-imx27: use a macro to define registers

This way the base address isn't hard coded in each register definition

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Rabin Vincent <rabin@rab.in>
Cc: Javier Martin <javier.martin@vista-silicon.com>
Cc: Valentin Longchamp <valentin.longchamp@epfl.ch>
arch/arm/mach-mx2/clock_imx27.c