]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/ir: fix build with ancient kernel headers
authorSean Young <sean@mess.org>
Tue, 1 Feb 2022 18:38:36 +0000 (18:38 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 4 Feb 2022 20:14:41 +0000 (13:14 -0700)
commit183f80fd72db42c9cc483aa7a5e8e881355d0b03
treefce1fe0c8136081066dd1cd8113ff8afe98e2043
parente2aa5e650b07693477dff554053605976789fd68
selftests/ir: fix build with ancient kernel headers

Since commit e2bcbd7769ee ("tools headers UAPI: remove stale lirc.h"),
the build of the selftests fails on rhel 8 since its version of
/usr/include/linux/lirc.h has no definition of RC_PROTO_RCMM32, etc [1].

[1] https://lkml.org/lkml/2022/1/28/275

Fixes: e2bcbd7769ee ("tools headers UAPI: remove stale lirc.h")
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/ir/ir_loopback.c