V4L/DVB: ir-common: remove keymap tables from the module
[safe/jmp/linux-2.6] / include / media / ir-core.h
index e1772b8..c6b8e17 100644 (file)
@@ -102,24 +102,6 @@ struct ir_raw_handler {
 
 #define to_ir_input_dev(_attr) container_of(_attr, struct ir_input_dev, attr)
 
-#define IR_KEYTABLE(a)                                 \
-ir_codes_ ## a ## _table
-
-#define DECLARE_IR_KEYTABLE(a)                                 \
-extern struct ir_scancode_table IR_KEYTABLE(a)
-
-#define DEFINE_IR_KEYTABLE(tabname, type)                      \
-struct ir_scancode_table IR_KEYTABLE(tabname) = {              \
-       .scan = tabname,                                        \
-       .size = ARRAY_SIZE(tabname),                            \
-       .ir_type = type,                                        \
-       .name = #tabname,                                       \
-};                                                             \
-EXPORT_SYMBOL_GPL(IR_KEYTABLE(tabname))
-
-#define DEFINE_LEGACY_IR_KEYTABLE(tabname)                     \
-       DEFINE_IR_KEYTABLE(tabname, IR_TYPE_UNKNOWN)
-
 /* Routines from rc-map.c */
 
 int ir_register_map(struct rc_keymap *map);