V4L/DVB: ir-core: Add a macro to properly create IR tables

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Mauro Carvalho Chehab
2010-03-12 11:40:13 -03:00
parent 945cdfa2c9
commit 2915e5ef35
2 changed files with 83 additions and 375 deletions

View File

@@ -35,7 +35,8 @@ struct ir_scancode {
struct ir_scancode_table {
struct ir_scancode *scan;
int size;
u64 ir_type;
u64 ir_type;
char *name;
spinlock_t lock;
};