irq_domain/powerpc: constify irq_domain_ops
Make all the irq_domain_ops structures in powerpc 'static const' Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Milton Miller <miltonm@bga.com> Tested-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
@@ -123,7 +123,7 @@ static struct irqaction cpm_error_irqaction = {
|
||||
.name = "error",
|
||||
};
|
||||
|
||||
static struct irq_domain_ops cpm_pic_host_ops = {
|
||||
static const struct irq_domain_ops cpm_pic_host_ops = {
|
||||
.map = cpm_pic_host_map,
|
||||
};
|
||||
|
||||
|
@@ -236,7 +236,7 @@ static int cpm2_pic_host_xlate(struct irq_domain *h, struct device_node *ct,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct irq_domain_ops cpm2_pic_host_ops = {
|
||||
static const struct irq_domain_ops cpm2_pic_host_ops = {
|
||||
.map = cpm2_pic_host_map,
|
||||
.xlate = cpm2_pic_host_xlate,
|
||||
};
|
||||
|
@@ -248,7 +248,7 @@ static int ehv_pic_host_xlate(struct irq_domain *h, struct device_node *ct,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct irq_domain_ops ehv_pic_host_ops = {
|
||||
static const struct irq_domain_ops ehv_pic_host_ops = {
|
||||
.match = ehv_pic_host_match,
|
||||
.map = ehv_pic_host_map,
|
||||
.xlate = ehv_pic_host_xlate,
|
||||
|
@@ -74,7 +74,7 @@ static int fsl_msi_host_map(struct irq_domain *h, unsigned int virq,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct irq_domain_ops fsl_msi_host_ops = {
|
||||
static const struct irq_domain_ops fsl_msi_host_ops = {
|
||||
.map = fsl_msi_host_map,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user