drivers/perf: hisi: Add missing include of linux/module.h
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Fri, 4 Sep 2020 02:21:37 +0000 (10:21 +0800)
committerWill Deacon <will@kernel.org>
Mon, 7 Sep 2020 13:05:11 +0000 (14:05 +0100)
MODULE_*** is used in HiSilicon uncore PMU drivers and is provided by
linux/module.h, but the header file is not directly included. Add the
missing include.

Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/1599186097-18599-1-git-send-email-zhangshaokun@hisilicon.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/hisilicon/hisi_uncore_pmu.h

index 25b0c97..b59ec22 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/cpumask.h>
 #include <linux/device.h>
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/perf_event.h>
 #include <linux/types.h>