Commit 5fd92bdd authored by Jani Nikula's avatar Jani Nikula Committed by Rodrigo Vivi

drm/xe/irq: the irq handler local variable need not be static

It's just a local variable.
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Reviewed-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent ccbb6ad5
...@@ -516,7 +516,7 @@ static void irq_uninstall(struct drm_device *drm, void *arg) ...@@ -516,7 +516,7 @@ static void irq_uninstall(struct drm_device *drm, void *arg)
int xe_irq_install(struct xe_device *xe) int xe_irq_install(struct xe_device *xe)
{ {
int irq = to_pci_dev(xe->drm.dev)->irq; int irq = to_pci_dev(xe->drm.dev)->irq;
static irq_handler_t irq_handler; irq_handler_t irq_handler;
int err; int err;
irq_handler = xe_irq_handler(xe); irq_handler = xe_irq_handler(xe);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment