aboutsummaryrefslogtreecommitdiff
path: root/include/linux/map_to_7segment.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/map_to_7segment.h')
-rw-r--r--include/linux/map_to_7segment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/map_to_7segment.h b/include/linux/map_to_7segment.h
index 7df8432c440..12d62a54d47 100644
--- 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;
}