drm/i915: change to_mock() to an inline function
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 8 Nov 2019 05:13:55 +0000 (14:13 +0900)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Nov 2019 09:12:34 +0000 (09:12 +0000)
commit080f1288483bb6d78b474ac8038f0d6745eb71c1
tree6a1f18078c4c26b41813d7dda5abe914add22a0c
parent5e19c0b062b43511ac84931b9f61327c638a82f9
drm/i915: change to_mock() to an inline function

Since this function is defined in a header file, it should be
'static inline' instead of 'static'.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191108051356.29980-1-yamada.masahiro@socionext.com
drivers/gpu/drm/i915/gem/selftests/mock_dmabuf.h