git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mfd: Add all twl4030 regulators to the twl4030 mfd driver
[safe/jmp/linux-2.6]
/
include
/
linux
/
map_to_7segment.h
diff --git
a/include/linux/map_to_7segment.h
b/include/linux/map_to_7segment.h
index
7df8432
..
12d62a5
100644
(file)
--- a/
include/linux/map_to_7segment.h
+++ b/
include/linux/map_to_7segment.h
@@
-75,7
+75,7
@@
struct seg7_conversion_map {
unsigned char table[128];
};
-static
inline
int map_to_seg7(struct seg7_conversion_map *map, int c)
+static
__inline__
int map_to_seg7(struct seg7_conversion_map *map, int c)
{
return c >= 0 && c < sizeof(map->table) ? map->table[c] : -EINVAL;
}