From: Thierry Reding Date: Wed, 17 Dec 2014 15:41:41 +0000 (+0100) Subject: drm: Move IRQ related fields to proper section X-Git-Tag: v4.0-rc1~74^2~45^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b46004b70367974d5318caeabfd435017adf9e2a;p=thirdparty%2Fkernel%2Flinux.git drm: Move IRQ related fields to proper section The .irq and .irq_enabled fields are part of the VBLANK interrupt handling infrastructure, so move them to the appropriate section within the structure. Signed-off-by: Thierry Reding Reviewed-by: Alex Deucher Signed-off-by: Daniel Vetter --- diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 8ba35c622e220..7cd1c681a792d 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -744,8 +744,6 @@ struct drm_device { /** \name Context support */ /*@{ */ - bool irq_enabled; /**< True if irq handler is enabled */ - int irq; __volatile__ long context_flag; /**< Context swapping flag */ int last_context; /**< Last current context */ @@ -753,6 +751,8 @@ struct drm_device { /** \name VBLANK IRQ support */ /*@{ */ + bool irq_enabled; + int irq; /* * At load time, disabling the vblank interrupt won't be allowed since