drm/komeda: Remove in-code use of ifdef
authorMihail Atanassov <Mihail.Atanassov@arm.com>
Tue, 17 Sep 2019 15:05:08 +0000 (15:05 +0000)
committerjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Wed, 18 Sep 2019 08:27:16 +0000 (16:27 +0800)
commit32b339d9fcdccb1a16c2c98abf2bf6200992ba96
treee464f46f433b6e514ba2473ed4816b46debcaaab
parenta859f1270a993ba3e8882eb572ff7151556fc04f
drm/komeda: Remove in-code use of ifdef

Provide a dummy static inline function in the header instead.

Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Lowry Li (Arm Technology China) <Lowry.Li@arm.com>
Cc: james qian wang (Arm Technology China) <james.qian.wang@arm.com>
Fixes: 4d74b25ee395 ("drm/komeda: Adds error event print functionality")
Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: james qian wang (Arm Technology China) <james.qian.wang@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190917150314.20892-1-mihail.atanassov@arm.com
drivers/gpu/drm/arm/display/komeda/komeda_dev.h
drivers/gpu/drm/arm/display/komeda/komeda_kms.c