summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-05-24 18:08:16 +0200
committerLee Jones <lee.jones@linaro.org>2017-07-06 09:29:11 +0200
commit54698c2d0a5a4e8c19e98388019c2c0ae1b51745 (patch)
treebed3333b68c4079d588ca3c03589fe03066ef07d /drivers/mfd
parentmfd: twl4030-irq: Log an error in twl4030_sih_setup if the module cannot be f... (diff)
downloadlinux-54698c2d0a5a4e8c19e98388019c2c0ae1b51745.tar.xz
linux-54698c2d0a5a4e8c19e98388019c2c0ae1b51745.zip
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 <tklauser@distanz.ch> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/fsl-imx25-tsadc.c2
1 files changed, 1 insertions, 1 deletions
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,
};