Message ID | 20191113013114.3013-1-james.qian.wang@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/komeda: Fix komeda driver build error | expand |
On Wed, Nov 13, 2019 at 2:32 AM james qian wang (Arm Technology China) <james.qian.wang@arm.com> wrote: > > 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> Please also re-enable the komde driver (including all options) in all the defconfigs in drm-rerere. And maybe type some scripts to compile test before pushing :-) -Daniel > --- > drivers/gpu/drm/arm/display/komeda/komeda_dev.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.h b/drivers/gpu/drm/arm/display/komeda/komeda_dev.h > index 15f52e304c08..d406a4d83352 100644 > --- a/drivers/gpu/drm/arm/display/komeda/komeda_dev.h > +++ b/drivers/gpu/drm/arm/display/komeda/komeda_dev.h > @@ -51,12 +51,12 @@ > > #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 { > -- > 2.20.1 >
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.h b/drivers/gpu/drm/arm/display/komeda/komeda_dev.h index 15f52e304c08..d406a4d83352 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_dev.h +++ b/drivers/gpu/drm/arm/display/komeda/komeda_dev.h @@ -51,12 +51,12 @@ #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 {
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> --- drivers/gpu/drm/arm/display/komeda/komeda_dev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)