Skip to content

Commit 66cbf17

Browse files
Jiri Slaby (SUSE)KAGA-KOKO
authored andcommitted
irqdomain: Make struct irq_domain_info variables const
This is just expressing it explicitly as irq_domain_instantiate() takes const already. No functional change. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250319092951.37667-52-jirislaby@kernel.org
1 parent 18e743e commit 66cbf17

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/linux/irqdomain.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ static inline struct irq_domain *irq_domain_create_nomap(struct fwnode_handle *f
396396
const struct irq_domain_ops *ops,
397397
void *host_data)
398398
{
399-
struct irq_domain_info info = {
399+
const struct irq_domain_info info = {
400400
.fwnode = fwnode,
401401
.hwirq_max = max_irq,
402402
.direct_max = max_irq,
@@ -416,7 +416,7 @@ static inline struct irq_domain *irq_domain_create_linear(struct fwnode_handle *
416416
const struct irq_domain_ops *ops,
417417
void *host_data)
418418
{
419-
struct irq_domain_info info = {
419+
const struct irq_domain_info info = {
420420
.fwnode = fwnode,
421421
.size = size,
422422
.hwirq_max = size,
@@ -432,7 +432,7 @@ static inline struct irq_domain *irq_domain_create_tree(struct fwnode_handle *fw
432432
const struct irq_domain_ops *ops,
433433
void *host_data)
434434
{
435-
struct irq_domain_info info = {
435+
const struct irq_domain_info info = {
436436
.fwnode = fwnode,
437437
.hwirq_max = ~0,
438438
.ops = ops,
@@ -548,7 +548,7 @@ static inline struct irq_domain *irq_domain_create_hierarchy(struct irq_domain *
548548
const struct irq_domain_ops *ops,
549549
void *host_data)
550550
{
551-
struct irq_domain_info info = {
551+
const struct irq_domain_info info = {
552552
.fwnode = fwnode,
553553
.size = size,
554554
.hwirq_max = size ? : ~0U,

0 commit comments

Comments
 (0)