Skip to content

Commit

Permalink
media: lirc: revert removal of unused feature flags
Browse files Browse the repository at this point in the history
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/[email protected]/
Reported-by: Jiri Slaby <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
seanyoung authored and torvalds committed May 25, 2022
1 parent fdaf9a5 commit e5499dd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/uapi/linux/lirc.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@
#define LIRC_CAN_SEND(x) ((x)&LIRC_CAN_SEND_MASK)
#define LIRC_CAN_REC(x) ((x)&LIRC_CAN_REC_MASK)

/*
* Unused features. These features were never implemented, in tree or
* out of tree. These definitions are here so not to break the lircd build.
*/
#define LIRC_CAN_SET_REC_FILTER 0
#define LIRC_CAN_NOTIFY_DECODE 0

/*** IOCTL commands for lirc driver ***/

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

0 comments on commit e5499dd

Please sign in to comment.