Skip to content

Commit e5499dd

Browse files
seanyoungtorvalds
authored andcommitted
media: lirc: revert removal of unused feature flags
Commit b2a90f4 ("media: lirc: remove unused lirc features") removed feature flags which were never implemented, but they are still used by the lirc daemon went built from source. Reinstate these symbols in order not to break the lirc build. Fixes: b2a90f4 ("media: lirc: remove unused lirc features") Link: https://lore.kernel.org/all/a0470450-ecfd-2918-e04a-7b57c1fd7694@kernel.org/ Reported-by: Jiri Slaby <jirislaby@kernel.org> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent fdaf9a5 commit e5499dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/uapi/linux/lirc.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@
8484
#define LIRC_CAN_SEND(x) ((x)&LIRC_CAN_SEND_MASK)
8585
#define LIRC_CAN_REC(x) ((x)&LIRC_CAN_REC_MASK)
8686

87+
/*
88+
* Unused features. These features were never implemented, in tree or
89+
* out of tree. These definitions are here so not to break the lircd build.
90+
*/
91+
#define LIRC_CAN_SET_REC_FILTER 0
92+
#define LIRC_CAN_NOTIFY_DECODE 0
93+
8794
/*** IOCTL commands for lirc driver ***/
8895

8996
#define LIRC_GET_FEATURES _IOR('i', 0x00000000, __u32)

0 commit comments

Comments
 (0)