Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1657300

Re: [PATCH 1/7] irqchip/aspeed-vic: constify irq_domain_ops

From Joel Stanley <joel@jms.id.au>
Newsgroups linux.kernel
Subject Re: [PATCH 1/7] irqchip/aspeed-vic: constify irq_domain_ops
Date 2017-06-05 08:20 +0200
Message-ID <tOTwT-7Hu-21@gated-at.bofh.it> (permalink)
References <tNQ81-6XE-11@gated-at.bofh.it> <tNQ82-6XE-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jun 2, 2017 at 5:50 PM, Tobias Klauser <tklauser@distanz.ch> wrote:
> struct irq_domain_ops is not modified, so it can be made const.
>
> Cc: Joel Stanley <joel@jms.id.au>
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>

Acked-by: Joel Stanley <joel@jms.id.au>

Cheers,

Joel

> ---
>  drivers/irqchip/irq-aspeed-vic.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/irqchip/irq-aspeed-vic.c b/drivers/irqchip/irq-aspeed-vic.c
> index d24451d5bf8a..88e139e4c1f9 100644
> --- a/drivers/irqchip/irq-aspeed-vic.c
> +++ b/drivers/irqchip/irq-aspeed-vic.c
> @@ -186,7 +186,7 @@ static int avic_map(struct irq_domain *d, unsigned int irq,
>         return 0;
>  }
>
> -static struct irq_domain_ops avic_dom_ops = {
> +static const struct irq_domain_ops avic_dom_ops = {
>         .map = avic_map,
>         .xlate = irq_domain_xlate_onetwocell,
>  };
> --
> 2.13.0
>
>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] irqchip: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200
  [PATCH 2/7] irqchip/i8259: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200
  [PATCH 5/7] irqchip/irq-mips-gic: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200
  [PATCH 6/7] irqchip/irq-renesas-h8300h: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200
  [PATCH 1/7] irqchip/aspeed-vic: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200
    Re: [PATCH 1/7] irqchip/aspeed-vic: constify irq_domain_ops Joel Stanley <joel@jms.id.au> - 2017-06-05 08:20 +0200
  [PATCH 3/7] irqchip/irq-imx-gpcv2: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200
  Re: [PATCH 0/7] irqchip: constify irq_domain_ops Marc Zyngier <marc.zyngier@arm.com> - 2017-06-02 12:10 +0200
    Re: [PATCH 0/7] irqchip: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 13:30 +0200

csiph-web