ARM: EXYNOS: Constify irq_domain_ops
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Mon, 27 Apr 2015 10:48:59 +0000 (19:48 +0900)
committerKukjin Kim <kgene@kernel.org>
Fri, 5 Jun 2015 17:17:57 +0000 (02:17 +0900)
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>
arch/arm/mach-exynos/suspend.c

index c0b6dccbf7bd5d8d14c05172d11d6ee690bf8fef..f7f6c13df65d13da7337e15a4a9d7e42d37482d6 100644 (file)
@@ -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);
 }
 
-static struct irq_domain_ops exynos_pmu_domain_ops = {
+static const struct irq_domain_ops exynos_pmu_domain_ops = {
        .xlate  = exynos_pmu_domain_xlate,
        .alloc  = exynos_pmu_domain_alloc,
        .free   = irq_domain_free_irqs_common,
This page took 0.058956 seconds and 5 git commands to generate.