drm/fourcc: Fix fourcc_mod_code() definition
authorThierry Reding <treding@nvidia.com>
Tue, 14 Nov 2017 17:51:26 +0000 (18:51 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 19 Feb 2018 13:56:20 +0000 (14:56 +0100)
commitb3c4c79e16f13a72e8124f69453a37135329f968
tree18c19b2f83ac1e7321be1ca52ed50f8fad89d17b
parente87a87925ea23e84ed6f67de73a5ef2713ca2c49
drm/fourcc: Fix fourcc_mod_code() definition

Avoid compiler warnings when the val parameter is an expression.

This is based on commit 5843f4e02fbe86a59981e35adc6cabebee46fdc0 from
Linux v4.16-rc1.

Acked-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
include/drm/drm_fourcc.h