History

media: lirc: revert removal of unused feature flags

Commit b2a90f4fcb14 ("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.

Sean Young committed 4 years ago

Commit e5499dd1 parent fdaf9a51 file · +7 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/lirc.h+7−0
@@ -84,6 +84,13 @@ · 83 unmodified lines
84#define LIRC_CAN_SEND(x) ((x)&LIRC_CAN_SEND_MASK)84#define LIRC_CAN_SEND(x) ((x)&LIRC_CAN_SEND_MASK)
85#define LIRC_CAN_REC(x) ((x)&LIRC_CAN_REC_MASK)85#define LIRC_CAN_REC(x) ((x)&LIRC_CAN_REC_MASK)
86 86
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
87/*** IOCTL commands for lirc driver ***/94/*** IOCTL commands for lirc driver ***/
88 95
89#define LIRC_GET_FEATURES _IOR('i', 0x00000000, __u32)96#define LIRC_GET_FEATURES _IOR('i', 0x00000000, __u32)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t