[v1,1/1] math.h: Introduce struct u8_fract and struct s8_fract
Commit Message
Seems there going to be users for these data types, besides
quite likely existing users that may benifit from them.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
include/linux/math.h | 2 ++
1 file changed, 2 insertions(+)
@@ -112,6 +112,8 @@ struct type##_fract { \
__##type numerator; \
__##type denominator; \
};
+__STRUCT_FRACT(s8)
+__STRUCT_FRACT(u8)
__STRUCT_FRACT(s16)
__STRUCT_FRACT(u16)
__STRUCT_FRACT(s32)