Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
8719cfdb
Commit
8719cfdb
authored
Dec 17, 2009
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (13833): ir-core: some functions can be static
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
68f194e0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
drivers/media/IR/ir-keytable.c
drivers/media/IR/ir-keytable.c
+2
-4
include/media/ir-core.h
include/media/ir-core.h
+0
-4
No files found.
drivers/media/IR/ir-keytable.c
View file @
8719cfdb
...
...
@@ -65,7 +65,7 @@ static int ir_seek_table(struct ir_scancode_table *rc_tab, u32 scancode)
* 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
...
...
include/media/ir-core.h
View file @
8719cfdb
...
...
@@ -61,10 +61,6 @@ struct ir_input_dev {
u32
ir_g_keycode_from_table
(
struct
input_dev
*
input_dev
,
u32
scancode
);
int
ir_set_keycode_table
(
struct
input_dev
*
input_dev
,
struct
ir_scancode_table
*
rc_tab
);
int
ir_roundup_tablesize
(
int
n_elems
);
int
ir_input_register
(
struct
input_dev
*
dev
,
const
struct
ir_scancode_table
*
ir_codes
,
const
struct
ir_dev_props
*
props
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment