selftests: Use lirc.h from kernel tree, not from system
authorSean Young <sean@mess.org>
Thu, 17 Jan 2019 15:29:38 +0000 (15:29 +0000)
committerShuah Khan <shuah@kernel.org>
Fri, 25 Jan 2019 21:58:46 +0000 (14:58 -0700)
commit7e35a5940fab59eeccb9162eb2389342e0a87e53
tree9a054cb7f18460b8af25c28a6d5682cd5e37395d
parent2b531b6137834a55857a337ac17510d6436b6fbb
selftests: Use lirc.h from kernel tree, not from system

When the system lirc.h is older than v4.16, you will get errors like:

ir_loopback.c:32:16: error: field ‘proto’ has incomplete type
  enum rc_proto proto;

Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Shuah Khan <shuah@kernel.org>
tools/testing/selftests/ir/Makefile