aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2020-07-01 11:23:17 +0100
committerUlf Hansson <[email protected]>2020-07-13 12:18:26 +0200
commit2f96126500991f356b9eacdc6611bec78e6253ed (patch)
tree727be43f332041b8820c8ffed52d2d3a6f980be3 /tools/perf/util/scripting-engines/trace-event-python.c
parent2ec2438d2052180984571e4c9065ecd9132a9f91 (diff)
arch: arm: mach-omap2: mmc: Move omap_mmc_notify_cover_event() prototype
When building the kernel with W=1 the build system complains of: drivers/mmc/host/omap.c:854:6: warning: no previous prototype for ‘omap_mmc_notify_cover_event’ [-Wmissing-prototypes] 854 | void omap_mmc_notify_cover_event(struct device *dev, int num, int is_closed) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ If we move the prototype into a shared headerfile the build system will be satisfied. Rather than create a whole new headerfile just for this purpose, it makes sense to use the already existing mmc-omap.h. Cc: Ulf Hansson <[email protected]> Cc: [email protected] Cc: Tony Lindgren <[email protected]> Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Acked-by: Tony Lindgren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions