Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
        return res;
 }
 
-struct fixed31_32 dal_fixed31_32_div_int(
-       struct fixed31_32 arg1,
-       int64_t arg2)
-{
-       return dal_fixed31_32_from_fraction(
-               arg1.value,
-               dal_fixed31_32_from_int(arg2).value);
-}
-
 struct fixed31_32 dal_fixed31_32_recip(
        struct fixed31_32 arg)
 {
 
  * @brief
  * result = arg1 / arg2
  */
-struct fixed31_32 dal_fixed31_32_div_int(
-       struct fixed31_32 arg1,
-       int64_t arg2);
+static inline struct fixed31_32 dal_fixed31_32_div_int(struct fixed31_32 arg1,
+                                                      int64_t arg2)
+{
+       return dal_fixed31_32_from_fraction(arg1.value,
+                                           dal_fixed31_32_from_int(arg2).value);
+}
 
 /*
  * @brief