From: Krzysztof Kozlowski Date: Mon, 27 Apr 2015 10:48:59 +0000 (+0900) Subject: ARM: EXYNOS: Constify irq_domain_ops X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fc4a2cc7c3ccb6e02337d9d83365032a131c9da1;p=linux-beck.git 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 Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c index c0b6dccbf7bd..f7f6c13df65d 100644 --- a/arch/arm/mach-exynos/suspend.c +++ b/arch/arm/mach-exynos/suspend.c @@ -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,