Skip to content

Commit

Permalink
drivers/perf: hisi: Add missing include of linux/module.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
  • Loading branch information
zhangshk authored and willdeacon committed Sep 7, 2020
1 parent ffdbd3d commit d51eb41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/perf/hisilicon/hisi_uncore_pmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit d51eb41

Please sign in to comment.