.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * HiSilicon SoC Hardware event counters support |
---|
3 | 4 | * |
---|
.. | .. |
---|
6 | 7 | * Shaokun Zhang <zhangshaokun@hisilicon.com> |
---|
7 | 8 | * |
---|
8 | 9 | * This code is based on the uncore PMUs like arm-cci and arm-ccn. |
---|
9 | | - * |
---|
10 | | - * This program is free software; you can redistribute it and/or modify |
---|
11 | | - * it under the terms of the GNU General Public License version 2 as |
---|
12 | | - * published by the Free Software Foundation. |
---|
13 | 10 | */ |
---|
14 | 11 | #ifndef __HISI_UNCORE_PMU_H__ |
---|
15 | 12 | #define __HISI_UNCORE_PMU_H__ |
---|
.. | .. |
---|
17 | 14 | #include <linux/cpumask.h> |
---|
18 | 15 | #include <linux/device.h> |
---|
19 | 16 | #include <linux/kernel.h> |
---|
| 17 | +#include <linux/module.h> |
---|
20 | 18 | #include <linux/perf_event.h> |
---|
21 | 19 | #include <linux/types.h> |
---|
22 | 20 | |
---|