aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/ir-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/ir-core.h')
-rw-r--r--include/media/ir-core.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/media/ir-core.h b/include/media/ir-core.h
index c6b8e179dfe0..7a0be8d4999d 100644
--- a/include/media/ir-core.h
+++ b/include/media/ir-core.h
@@ -47,7 +47,9 @@ struct ir_scancode {
47 47
48struct ir_scancode_table { 48struct ir_scancode_table {
49 struct ir_scancode *scan; 49 struct ir_scancode *scan;
50 int size; 50 unsigned int size; /* Max number of entries */
51 unsigned int len; /* Used number of entries */
52 unsigned int alloc; /* Size of *scan in bytes */
51 u64 ir_type; 53 u64 ir_type;
52 char *name; 54 char *name;
53 spinlock_t lock; 55 spinlock_t lock;