summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock24xx.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2009-05-25 11:26:46 -0700
committerTony Lindgren <tony@atomide.com>2009-05-25 11:26:46 -0700
commitef6685a6ded6a20ff33a868cc2c0dba0505b7e4c (patch)
tree780f185d336be66b40ab4faf98dfab30b9d6553c /arch/arm/mach-omap2/clock24xx.h
parent07b95d000d48bd44e6f573566c1eba985ef25ed4 (diff)
downloadtalos-obmc-linux-ef6685a6ded6a20ff33a868cc2c0dba0505b7e4c.tar.gz
talos-obmc-linux-ef6685a6ded6a20ff33a868cc2c0dba0505b7e4c.zip
ARM: OMAP2/3: Remove OMAP_CM_REGADDR
Processor specific macros should be used instead. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock24xx.h')
-rw-r--r--arch/arm/mach-omap2/clock24xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock24xx.h b/arch/arm/mach-omap2/clock24xx.h
index f0e4480b4ebe..458f00cdcbea 100644
--- a/arch/arm/mach-omap2/clock24xx.h
+++ b/arch/arm/mach-omap2/clock24xx.h
@@ -26,9 +26,11 @@
/* REVISIT: These should be set dynamically for CONFIG_MULTI_OMAP2 */
#ifdef CONFIG_ARCH_OMAP2420
+#define OMAP_CM_REGADDR OMAP2420_CM_REGADDR
#define OMAP24XX_PRCM_CLKOUT_CTRL OMAP2420_PRCM_CLKOUT_CTRL
#define OMAP24XX_PRCM_CLKEMUL_CTRL OMAP2420_PRCM_CLKEMUL_CTRL
#else
+#define OMAP_CM_REGADDR OMAP2430_CM_REGADDR
#define OMAP24XX_PRCM_CLKOUT_CTRL OMAP2430_PRCM_CLKOUT_CTRL
#define OMAP24XX_PRCM_CLKEMUL_CTRL OMAP2430_PRCM_CLKEMUL_CTRL
#endif
OpenPOWER on IntegriCloud