aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/IR/ir-keytable.c6
-rw-r--r--include/media/ir-core.h4
2 files changed, 2 insertions, 8 deletions
diff --git a/drivers/media/IR/ir-keytable.c b/drivers/media/IR/ir-keytable.c
index 68aceb8d63a9..4c11a0167fc9 100644
--- a/drivers/media/IR/ir-keytable.c
+++ b/drivers/media/IR/ir-keytable.c
@@ -65,7 +65,7 @@ exit:
65 * In order to reduce the quantity of table resizes, it has a minimum 65 * In order to reduce the quantity of table resizes, it has a minimum
66 * table size of IR_TAB_MIN_SIZE. 66 * table size of IR_TAB_MIN_SIZE.
67 */ 67 */
68int ir_roundup_tablesize(int n_elems) 68static int ir_roundup_tablesize(int n_elems)
69{ 69{
70 size_t size; 70 size_t size;
71 71
@@ -81,7 +81,6 @@ int ir_roundup_tablesize(int n_elems)
81 81
82 return n_elems; 82 return n_elems;
83} 83}
84EXPORT_SYMBOL_GPL(ir_roundup_tablesize);
85 84
86/** 85/**
87 * ir_copy_table() - copies a keytable, discarding the unused entries 86 * ir_copy_table() - copies a keytable, discarding the unused entries
@@ -93,7 +92,7 @@ EXPORT_SYMBOL_GPL(ir_roundup_tablesize);
93 * NOTE: It shouldn't copy the lock field 92 * NOTE: It shouldn't copy the lock field
94 */ 93 */
95 94
96int ir_copy_table(struct ir_scancode_table *destin, 95static int ir_copy_table(struct ir_scancode_table *destin,
97 const struct ir_scancode_table *origin) 96 const struct ir_scancode_table *origin)
98{ 97{
99 int i, j = 0; 98 int i, j = 0;
@@ -113,7 +112,6 @@ int ir_copy_table(struct ir_scancode_table *destin,
113 112
114 return 0; 113 return 0;
115} 114}
116EXPORT_SYMBOL_GPL(ir_copy_table);
117 115
118/** 116/**
119 * ir_getkeycode() - get a keycode at the evdev scancode ->keycode table 117 * ir_getkeycode() - get a keycode at the evdev scancode ->keycode table
diff --git a/include/media/ir-core.h b/include/media/ir-core.h
index d96f25a08451..61c223bc3953 100644
--- a/include/media/ir-core.h
+++ b/include/media/ir-core.h
@@ -61,10 +61,6 @@ struct ir_input_dev {
61u32 ir_g_keycode_from_table(struct input_dev *input_dev, 61u32 ir_g_keycode_from_table(struct input_dev *input_dev,
62 u32 scancode); 62 u32 scancode);
63 63
64int ir_set_keycode_table(struct input_dev *input_dev,
65 struct ir_scancode_table *rc_tab);
66
67int ir_roundup_tablesize(int n_elems);
68int ir_input_register(struct input_dev *dev, 64int ir_input_register(struct input_dev *dev,
69 const struct ir_scancode_table *ir_codes, 65 const struct ir_scancode_table *ir_codes,
70 const struct ir_dev_props *props); 66 const struct ir_dev_props *props);