summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/clocksource-imx23.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mxs/clocksource-imx23.c')
-rw-r--r--arch/arm/mach-mxs/clocksource-imx23.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/arch/arm/mach-mxs/clocksource-imx23.c b/arch/arm/mach-mxs/clocksource-imx23.c
index 8279ee2f2d..d1d9f10bec 100644
--- a/arch/arm/mach-mxs/clocksource-imx23.c
+++ b/arch/arm/mach-mxs/clocksource-imx23.c
@@ -1,24 +1,11 @@
-/*
- * (C) Copyright 2010 Juergen Beisert - Pengutronix
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- */
+// SPDX-License-Identifier: GPL-2.0-or-later
+// SPDX-FileCopyrightText: 2010 Juergen Beisert, Pengutronix
#include <common.h>
#include <init.h>
#include <clock.h>
#include <notifier.h>
-#include <mach/imx23-regs.h>
-#include <mach/clock.h>
+#include <mach/mxs/imx23-regs.h>
#include <io.h>
#define TIMROTCTRL 0x00
@@ -46,6 +33,7 @@ static struct clocksource cs = {
.read = imx23_clocksource_read,
.mask = CLOCKSOURCE_MASK(16),
.shift = 10,
+ .priority = 80,
};
static int imx23_clocksource_clock_change(struct notifier_block *nb, unsigned long event, void *data)