From: Jani Nikula <jani.nikula@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [PATCH 2/5] drm/xe: make heci_gsc_irq_chip const
Date: Wed, 17 Jan 2024 14:20:41 +0200 [thread overview]
Message-ID: <20240117122044.1544174-2-jani.nikula@intel.com> (raw)
In-Reply-To: <20240117122044.1544174-1-jani.nikula@intel.com>
The irq_chip definition can be const, make it so.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
drivers/gpu/drm/xe/xe_heci_gsc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_heci_gsc.c b/drivers/gpu/drm/xe/xe_heci_gsc.c
index bfdd33b9b23b..1c9d38b6f5f1 100644
--- 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,
--
2.39.2
next prev parent reply other threads:[~2024-01-17 12:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-17 12:20 [PATCH 1/5] drm/xe: make xe_ttm_funcs const Jani Nikula
2024-01-17 12:20 ` Jani Nikula [this message]
2024-01-17 12:37 ` [PATCH 2/5] drm/xe: make heci_gsc_irq_chip const Thomas Hellström
2024-01-17 12:20 ` [PATCH 3/5] drm/xe: make hwmon_info const Jani Nikula
2024-01-17 12:38 ` Thomas Hellström
2024-01-17 12:20 ` [PATCH 4/5] drm/xe: make gpuvm_ops const Jani Nikula
2024-01-17 12:38 ` Thomas Hellström
2024-01-17 12:20 ` [PATCH 5/5] drm/xe: constify engine class sysfs attributes Jani Nikula
2024-01-17 12:39 ` Thomas Hellström
2024-01-17 12:36 ` [PATCH 1/5] drm/xe: make xe_ttm_funcs const Thomas Hellström
2024-01-17 14:56 ` ✓ CI.Patch_applied: success for series starting with [1/5] " Patchwork
2024-01-17 14:57 ` ✓ CI.checkpatch: " Patchwork
2024-01-17 14:58 ` ✓ CI.KUnit: " Patchwork
2024-01-17 15:05 ` ✓ CI.Build: " Patchwork
2024-01-17 15:05 ` ✓ CI.Hooks: " Patchwork
2024-01-17 15:06 ` ✓ CI.checksparse: " Patchwork
2024-01-17 15:32 ` ✗ CI.BAT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240117122044.1544174-2-jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-xe@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox