projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fe36db
)
drm/xe: make heci_gsc_irq_chip const
author
Jani Nikula
<jani.nikula@intel.com>
Wed, 17 Jan 2024 12:20:41 +0000
(14:20 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Fri, 19 Jan 2024 12:35:31 +0000
(14:35 +0200)
The irq_chip definition can be const, make it so.
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20240117122044.1544174-2-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/xe/xe_heci_gsc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/xe_heci_gsc.c
b/drivers/gpu/drm/xe/xe_heci_gsc.c
index bfdd33b9b23b40c26e2ee632b72a2b964a24b5e6..1c9d38b6f5f1818075252d3b1c9202df08e64d3b 100644
(file)
--- a/
drivers/gpu/drm/xe/xe_heci_gsc.c
+++ b/
drivers/gpu/drm/xe/xe_heci_gsc.c
@@
-29,7
+29,7
@@
static void heci_gsc_irq_unmask(struct irq_data *d)
/* generic irq handling */
}
-static struct irq_chip heci_gsc_irq_chip = {
+static
const
struct irq_chip heci_gsc_irq_chip = {
.name = "gsc_irq_chip",
.irq_mask = heci_gsc_irq_mask,
.irq_unmask = heci_gsc_irq_unmask,