diff options
Diffstat (limited to 'drivers/clocksource/nomadik.c')
-rw-r--r-- | drivers/clocksource/nomadik.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/clocksource/nomadik.c b/drivers/clocksource/nomadik.c index 7d5d9f9f77..cffe9cdd03 100644 --- a/drivers/clocksource/nomadik.c +++ b/drivers/clocksource/nomadik.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-nomadik/timer.c * * Copyright (C) 2008 STMicroelectronics * Copyright (C) 2009 Alessandro Rubini, somewhat based on at91sam926x - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, as - * published by the Free Software Foundation. */ #include <common.h> #include <clock.h> @@ -74,6 +71,7 @@ static struct clocksource nmdk_clksrc = { .read = nmdk_read_timer, .shift = 20, .mask = CLOCKSOURCE_MASK(32), + .priority = 60, }; static void nmdk_timer_reset(void) @@ -92,7 +90,7 @@ static void nmdk_timer_reset(void) writel(cr | MTU_CRn_ENA, mtu_base + MTU_CR(0)); } -static int nmdk_mtu_probe(struct device_d *dev) +static int nmdk_mtu_probe(struct device *dev) { struct resource *iores; static struct clk *mtu_clk; @@ -137,7 +135,7 @@ static int nmdk_mtu_probe(struct device_d *dev) return init_clock(&nmdk_clksrc); } -static struct driver_d nmdk_mtu_driver = { +static struct driver nmdk_mtu_driver = { .name = "nomadik_mtu", .probe = nmdk_mtu_probe, }; |