mfd: fsl-imx25-tsadc: constify irq_domain_ops
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/mfd/fsl-imx25-tsadc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/fsl-imx25-tsadc.c +1 -1
@@ -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, };
Signature · 1 line
2.13.0
Lee Jones
AppliedQuoted 6 lines · Tobias Klauser
struct
irq_domain_opsis not modified, so it can be made const.Signed-off-by Tobias Klauser <[email protected]>--- drivers/mfd/fsl-imx25-tsadc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Quoted 13 lines
drivers/mfd/fsl-imx25-tsadc.c +1
-1@@ -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, };
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog