diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-17 13:24:37 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 19:10:25 +0100 |
commit | 8719cfdb4aa5bc7402bef873f607ed406960019f (patch) | |
tree | c51e3716100147b42692c949f577d3dcedbf880b /drivers/media/IR | |
parent | V4L/DVB (13830): uvcvideo: add another YUYV format GUID for iSight cameras (diff) | |
download | linux-8719cfdb4aa5bc7402bef873f607ed406960019f.tar.xz linux-8719cfdb4aa5bc7402bef873f607ed406960019f.zip |
V4L/DVB (13833): ir-core: some functions can be static
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR')
-rw-r--r-- | drivers/media/IR/ir-keytable.c | 6 |
1 files changed, 2 insertions, 4 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: * In order to reduce the quantity of table resizes, it has a minimum * table size of IR_TAB_MIN_SIZE. */ -int ir_roundup_tablesize(int n_elems) +static int ir_roundup_tablesize(int n_elems) { size_t size; @@ -81,7 +81,6 @@ int ir_roundup_tablesize(int n_elems) return n_elems; } -EXPORT_SYMBOL_GPL(ir_roundup_tablesize); /** * ir_copy_table() - copies a keytable, discarding the unused entries @@ -93,7 +92,7 @@ EXPORT_SYMBOL_GPL(ir_roundup_tablesize); * NOTE: It shouldn't copy the lock field */ -int ir_copy_table(struct ir_scancode_table *destin, +static int ir_copy_table(struct ir_scancode_table *destin, const struct ir_scancode_table *origin) { int i, j = 0; @@ -113,7 +112,6 @@ int ir_copy_table(struct ir_scancode_table *destin, return 0; } -EXPORT_SYMBOL_GPL(ir_copy_table); /** * ir_getkeycode() - get a keycode at the evdev scancode ->keycode table |