diff options
| author | Paul Gortmaker <[email protected]> | 2015-06-03 16:52:57 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-06-08 13:46:43 -0700 |
| commit | 5a6a7cd05c039f3c4d8f5f52fddfb7cb2bbd6119 (patch) | |
| tree | 4600231995a6c4307123b9b77117c518798b2c9e /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 00465f4c84867975e76fb5fb20f809f3f803e2c3 (diff) | |
drivers/hwtracing: fix coresight-replicator-qcom implicit <module.h> usage
In commit 620cf787c121f39b5223e43bad3d1b7c66ecead5 ("coresight: replicator:
Add Qualcomm CoreSight Replicator driver") this driver was added.
It uses module_amba_driver(replicator_driver) to register itself with
the system -- which is just an alias for module_driver. This currently
works by relying on getting that via init.h but we are planning to move
that code[1] to module.h -- at which time this will fail to compile since
it does not include module.h currently, resulting in:
drivers/hwtracing/coresight/coresight-replicator-qcom.c:214:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
drivers/hwtracing/coresight/coresight-replicator-qcom.c:214:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
In the future, the amba support may want to create another alias that
uses builtin_driver[2] for cases like this which are using bool Kconfig
triggers, but for now we just fix the implicit include.
[1] https://lkml.kernel.org/r/[email protected]
[2] https://lkml.kernel.org/r/[email protected]
Cc: Pratik Patel <[email protected]>
Cc: Ivan T. Ivanov <[email protected]>
Signed-off-by: Paul Gortmaker <[email protected]>
Acked-by: Mathieu Poirier <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions