diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2017-01-25 15:46:58 -0800 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-02-03 18:46:47 +0000 |
commit | c0bfc549e96231e0ead4424de6e4933fde819d70 (patch) | |
tree | 19055b569284b79801328506b46ac545a9e948ec /mm/pagewalk.c | |
parent | b128cb55f066caeb9859b99795d78e9213a58d2a (diff) |
perf: xgene: Include module.h
I ran into a build error when I disabled CONFIG_ACPI and tried to
compile this driver:
drivers/perf/xgene_pmu.c:1242:1: warning: data definition has no type or storage class
MODULE_DEVICE_TABLE(of, xgene_pmu_of_match);
^
drivers/perf/xgene_pmu.c:1242:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
Include module.h for the MODULE_DEVICE_TABLE macro that's
implicitly included through ACPI.
Tested-by: Tai Nguyen <ttnguyen@apm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'mm/pagewalk.c')
0 files changed, 0 insertions, 0 deletions