From: Tobias Klauser Date: Wed, 24 May 2017 16:08:16 +0000 (+0200) Subject: mfd: fsl-imx25-tsadc: Constify irq_domain_ops X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=54698c2d0a5a4e8c19e98388019c2c0ae1b51745;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mfd: fsl-imx25-tsadc: Constify irq_domain_ops struct irq_domain_ops is not modified, so it can be made const. Signed-off-by: Tobias Klauser Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/fsl-imx25-tsadc.c b/drivers/mfd/fsl-imx25-tsadc.c index ac430a396a89..190e375dc57a 100644 --- a/drivers/mfd/fsl-imx25-tsadc.c +++ b/drivers/mfd/fsl-imx25-tsadc.c @@ -59,7 +59,7 @@ static int mx25_tsadc_domain_map(struct irq_domain *d, unsigned int irq, return 0; } -static struct irq_domain_ops mx25_tsadc_domain_ops = { +static const struct irq_domain_ops mx25_tsadc_domain_ops = { .map = mx25_tsadc_domain_map, .xlate = irq_domain_xlate_onecell, };