projects
/
platform
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8683934
)
Fix sparse warnings in probes.c
author
Alexander Aksenov
<a.aksenov@samsung.com>
Wed, 6 Feb 2013 13:50:08 +0000
(17:50 +0400)
committer
Alexander Aksenov
<a.aksenov@samsung.com>
Wed, 6 Feb 2013 13:50:08 +0000
(17:50 +0400)
driver/probes.c
patch
|
blob
|
history
diff --git
a/driver/probes.c
b/driver/probes.c
index
4d98b95
..
7d242c3
100644
(file)
--- a/
driver/probes.c
+++ b/
driver/probes.c
@@
-58,7
+58,7
@@
const char *ec_probe_name[] = {
};
//TODO: the same function should be used from utils.cpp
-int name2index (unsigned *p_index, unsigned count, const char **names, const char *name)
+
static
int name2index (unsigned *p_index, unsigned count, const char **names, const char *name)
{
unsigned index;
for (index = 0; index < count; ++index) {