.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Joshua Henderson <joshua.henderson@microchip.com> |
---|
3 | 4 | * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can distribute it and/or modify it |
---|
6 | | - * under the terms of the GNU General Public License (Version 2) as |
---|
7 | | - * published by the Free Software Foundation. |
---|
8 | | - * |
---|
9 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
---|
10 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
11 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
---|
12 | | - * for more details. |
---|
13 | 5 | */ |
---|
14 | | -#include <linux/clk-provider.h> |
---|
15 | 6 | #include <linux/clocksource.h> |
---|
16 | 7 | #include <linux/init.h> |
---|
17 | 8 | #include <linux/irqdomain.h> |
---|
18 | 9 | #include <linux/of.h> |
---|
| 10 | +#include <linux/of_clk.h> |
---|
19 | 11 | #include <linux/of_irq.h> |
---|
20 | 12 | |
---|
21 | 13 | #include <asm/time.h> |
---|
.. | .. |
---|
31 | 23 | |
---|
32 | 24 | static unsigned int pic32_xlate_core_timer_irq(void) |
---|
33 | 25 | { |
---|
34 | | - static struct device_node *node; |
---|
| 26 | + struct device_node *node; |
---|
35 | 27 | unsigned int irq; |
---|
36 | 28 | |
---|
37 | 29 | node = of_find_matching_node(NULL, pic32_infra_match); |
---|