diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2017-01-25 15:46:58 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-25 11:05:51 +0100 |
commit | 28fab4ff2e9c404e9720776e2d06c4d00980ed56 (patch) | |
tree | fbe57e5e76236a7a93848e5dc217dfe8b96165b9 /drivers/video | |
parent | 4890abc7814be49a7d4e448c7b7421e1cea44ec1 (diff) |
perf: xgene: Include module.h
commit c0bfc549e96231e0ead4424de6e4933fde819d70 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions