drm/xe/irq: the irq handler local variable need not be static
It's just a local variable. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
parent
ccbb6ad52a
commit
5fd92bdd54
@ -516,7 +516,7 @@ static void irq_uninstall(struct drm_device *drm, void *arg)
|
||||
int xe_irq_install(struct xe_device *xe)
|
||||
{
|
||||
int irq = to_pci_dev(xe->drm.dev)->irq;
|
||||
static irq_handler_t irq_handler;
|
||||
irq_handler_t irq_handler;
|
||||
int err;
|
||||
|
||||
irq_handler = xe_irq_handler(xe);
|
||||
|
Loading…
x
Reference in New Issue
Block a user