Linux EDAC development
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Tobias Klauser <tklauser@distanz.ch>
Cc: Thor Thayer <thor.thayer@linux.intel.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-edac@vger.kernel.org
Subject: EDAC, altera: constify irq_domain_ops
Date: Wed, 24 May 2017 15:49:39 +0200	[thread overview]
Message-ID: <20170524134939.GA7267@nazgul.tnic> (raw)

On Wed, May 24, 2017 at 03:35:05PM +0200, Tobias Klauser wrote:
> struct irq_domain_ops is not modified, so it can be made const.
> 
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
> ---
>  drivers/edac/altera_edac.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c
> index 7717b094fabb..122637530b15 100644
> --- a/drivers/edac/altera_edac.c
> +++ b/drivers/edac/altera_edac.c
> @@ -1839,7 +1839,7 @@ static int a10_eccmgr_irqdomain_map(struct irq_domain *d, unsigned int irq,
>  	return 0;
>  }
>  
> -static struct irq_domain_ops a10_eccmgr_ic_ops = {
> +static const struct irq_domain_ops a10_eccmgr_ic_ops = {
>  	.map = a10_eccmgr_irqdomain_map,
>  	.xlate = irq_domain_xlate_twocell,
>  };
> -- 

Applied, thanks.

             reply	other threads:[~2017-05-24 13:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-24 13:49 Borislav Petkov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-24 13:35 EDAC, altera: constify irq_domain_ops Tobias Klauser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170524134939.GA7267@nazgul.tnic \
    --to=bp@alien8.de \
    --cc=linux-edac@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=thor.thayer@linux.intel.com \
    --cc=tklauser@distanz.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox