summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/timer.c
diff options
context:
space:
mode:
authorLoic PALLARDY <loic.pallardy@st.com>2012-09-03 15:10:23 +0200
committerOlof Johansson <olof@lixom.net>2012-09-04 21:38:14 -0700
commit79964bcd792fd9625affb4d7092ee09697f0409a (patch)
treeb2df34d67daf72d43d778a07ac6b923a3d421251 /arch/arm/mach-ux500/timer.c
parent1d3266ecca67066e537fe0e0669bed77d355f886 (diff)
downloadblackbird-op-linux-79964bcd792fd9625affb4d7092ee09697f0409a.tar.gz
blackbird-op-linux-79964bcd792fd9625affb4d7092ee09697f0409a.zip
ARM: ux500: Correct Ux500 family names usage
Update users with cpu_is_ux540_family() to keep x540 family functional. Signed-off-by: Loic Pallardy <loic.pallardy@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-ux500/timer.c')
-rw-r--r--arch/arm/mach-ux500/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/timer.c b/arch/arm/mach-ux500/timer.c
index 66e7f00884ab..6f39731951b0 100644
--- a/arch/arm/mach-ux500/timer.c
+++ b/arch/arm/mach-ux500/timer.c
@@ -54,7 +54,7 @@ static void __init ux500_timer_init(void)
void __iomem *tmp_base;
struct device_node *np;
- if (cpu_is_u8500_family()) {
+ if (cpu_is_u8500_family() || cpu_is_ux540_family()) {
mtu_timer_base = __io_address(U8500_MTU0_BASE);
prcmu_timer_base = __io_address(U8500_PRCMU_TIMER_4_BASE);
} else {
OpenPOWER on IntegriCloud