projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4858573
)
mfd: fsl-imx25-tsadc: Constify irq_domain_ops
author
Tobias Klauser
<tklauser@distanz.ch>
Wed, 24 May 2017 16:08:16 +0000
(18:08 +0200)
committer
Lee 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/fsl-imx25-tsadc.c
b/drivers/mfd/fsl-imx25-tsadc.c
index ac430a396a89945b0cad1542db8a11b68b497fa5..190e375dc57a55abf124289f1c2d87fd4d1346fb 100644
(file)
--- 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,
};