X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fmap_to_7segment.h;h=12d62a54d47029383b79bdc3ed9b529fe21f6b90;hb=219a047eb9a3cde86b5a341f9f8d4f6cf7e8cd56;hp=7df8432c4402b576b9f1d5b116aea47a6182daef;hpb=9649745c8670eacc671e9cff72c5c1e346e13036;p=pandora-kernel.git diff --git a/include/linux/map_to_7segment.h b/include/linux/map_to_7segment.h index 7df8432c4402..12d62a54d470 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; }