aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJérémy Lefaure <[email protected]>2017-03-20 22:48:26 -0400
committerGreg Kroah-Hartman <[email protected]>2017-03-21 08:40:59 +0100
commit447a7f934e82284bc0cd3270f6491412fcab3f6d (patch)
treee150a25c925db72d2b83724a5b5fc8aa39e80ce6 /tools/perf/scripts/python/net_dropmonitor.py
parent435ec8afa59e28b4bcf2933da86b2c32fa326f8c (diff)
staging: media: atomisp: fix build errors when PM is disabled
The function atomisp_restore_iumit_reg is unused when PM is disabled. Adding __maybe_unused to the function definition avoids a warning. The function atomisp_mrfld_power_down is defined only when PM is enabled. So in atomisp_pci_probe, it should be called only when PM is enabled. Signed-off-by: Jérémy Lefaure <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions