[PATCH v4 2/5] drm: Fix compilation warning caused by static inline forward declaration