.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2016 Yang Ling <gnaygnil@gmail.com> |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify it |
---|
5 | | - * under the terms of the GNU General Public License as published by the |
---|
6 | | - * Free Software Foundation; either version 2 of the License, or (at your |
---|
7 | | - * option) any later version. |
---|
8 | 4 | */ |
---|
9 | 5 | |
---|
10 | 6 | #include <linux/clkdev.h> |
---|
11 | 7 | #include <linux/clk-provider.h> |
---|
| 8 | +#include <linux/io.h> |
---|
12 | 9 | |
---|
13 | 10 | #include <loongson1.h> |
---|
14 | 11 | #include "clk.h" |
---|
.. | .. |
---|
40 | 37 | [1] = { .val = 1, .div = 4 }, |
---|
41 | 38 | [2] = { .val = 2, .div = 3 }, |
---|
42 | 39 | [3] = { .val = 3, .div = 3 }, |
---|
| 40 | + [4] = { /* sentinel */ } |
---|
43 | 41 | }; |
---|
44 | 42 | |
---|
45 | 43 | void __init ls1x_clk_init(void) |
---|