aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2016-06-07 21:33:54 -0700
committerGreg Kroah-Hartman <[email protected]>2016-06-08 09:29:02 -0700
commit44d6449350b866cbea613aabe5aba4aa640791cd (patch)
tree3ca2cab77effe8bbbd58005bff4bcc025f785ff3 /tools/perf/scripts/python
parent4d27574cd354bc47758268c2e32a0a47b7aacfc0 (diff)
greybus: kernel_ver.h: provide pwm_is_enabled()
In the 4.7-rc1 kernel release, PWMF_ENABLED is removed and pwm_is_enabled() is the correct way to test if a pwm device is enabled, so provide a version of that function that will work on all older kernels and change the pwm.c driver to use it so that it will work on newer kernels as well. Tested: Tree now builds successfully against 3.14.y, 4.4.y, 4.5.y, 4.6.y, and 4.7-rc2 kernels Signed-off-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Viresh Kumar <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions