drm/komeda: Fix komeda driver build error
authorjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Wed, 13 Nov 2019 01:31:37 +0000 (01:31 +0000)
committerjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Wed, 13 Nov 2019 08:21:14 +0000 (16:21 +0800)
Fix the build errors lead by

'commit 4039f0293bbd ("drm/komeda: Add option to print WARN- and INFO-level IRQ events")'

Signed-off-by: james qian wang (Arm Technology China) <james.qian.wang@arm.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20191113013114.3013-1-james.qian.wang@arm.com
drivers/gpu/drm/arm/display/komeda/komeda_dev.h

index 15f52e304c08a7c5ce3cfd5961bd632b5183f0a9..d406a4d833528914889e8acff03bab71cdfd1e9f 100644 (file)
 
 #define KOMEDA_WARN_EVENTS     KOMEDA_ERR_CSCE
 
-#define KOMEDA_INFO_EVENTS ({0 \
+#define KOMEDA_INFO_EVENTS (0 \
                            | KOMEDA_EVENT_VSYNC \
                            | KOMEDA_EVENT_FLIP \
                            | KOMEDA_EVENT_EOW \
                            | KOMEDA_EVENT_MODE \
-                           })
+                           )
 
 /* malidp device id */
 enum {