Using the kernel-provided IDA simplifies the code and makes it possible to remove the lirc_dev_lock mutex.
Showing the changes to include/media/lirc_dev.h (1 of 2 files). Show all
Unified · Split
| @@ -9,7 +9,6 @@ · 8 unmodified lines | ||
| 9 | 9 | #ifndef _LINUX_LIRC_DEV_H |
| 10 | 10 | #define _LINUX_LIRC_DEV_H |
| 11 | 11 | |
| 12 | −#define MAX_IRCTL_DEVICES 8 | |
| 13 | 12 | #define BUFLEN 16 |
| 14 | 13 | |
| 15 | 14 | #include <linux/slab.h> |