aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorRen Zhijie <[email protected]>2022-06-19 18:47:12 +0800
committerUlf Hansson <[email protected]>2022-07-12 12:25:39 +0200
commit1c5fd97373115b932afa72fbc5425560e0d1148f (patch)
tree1fb257057e5e125c881ec8d51f0690a056eb027f /tools/perf/util/scripting-engines/trace-event-python.c
parent6f34a4ee738b6965a08ba11a03666e7b524aec19 (diff)
mmc: sdhci-pci-gli: Fix build error unused-function
If CONFIG_PM is not set. make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu-, will be failed, like this: drivers/mmc/host/sdhci-pci-gli.c:834:13: error: ‘gl9763e_set_low_power_negotiation’ defined but not used [-Werror=unused-function] static void gl9763e_set_low_power_negotiation(struct sdhci_pci_slot *slot, bool enable) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [drivers/mmc/host/sdhci-pci-gli.o] Error 1 To fix building warning, wrap all related code with CONFIG_PM. Reported-by: Hulk Robot <[email protected]> Signed-off-by: Ren Zhijie <[email protected]> Acked-by: Adrian Hunter <[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