mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 06:10:56 +00:00
ARM: EXYNOS: Constify irq_domain_ops
The irq_domain_ops are not modified by the driver and the irqdomain core code accepts pointer to a const data. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
This commit is contained in:
parent
af9971144d
commit
fc4a2cc7c3
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ static int exynos_pmu_domain_alloc(struct irq_domain *domain,
|
||||||
return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &parent_args);
|
return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &parent_args);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irq_domain_ops exynos_pmu_domain_ops = {
|
static const struct irq_domain_ops exynos_pmu_domain_ops = {
|
||||||
.xlate = exynos_pmu_domain_xlate,
|
.xlate = exynos_pmu_domain_xlate,
|
||||||
.alloc = exynos_pmu_domain_alloc,
|
.alloc = exynos_pmu_domain_alloc,
|
||||||
.free = irq_domain_free_irqs_common,
|
.free = irq_domain_free_irqs_common,
|
||||||
|
|
Loading…
Reference in a new issue