mfd: fsl-imx25-tsadc: Constify irq_domain_ops
authorTobias Klauser <tklauser@distanz.ch>
Wed, 24 May 2017 16:08:16 +0000 (18:08 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 6 Jul 2017 07:29:11 +0000 (08:29 +0100)
struct irq_domain_ops is not modified, so it can be made const.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/fsl-imx25-tsadc.c

index ac430a396a89945b0cad1542db8a11b68b497fa5..190e375dc57a55abf124289f1c2d87fd4d1346fb 100644 (file)
@@ -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,
 };