public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alban <albeu@free.fr>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Aban Bedel <albeu@free.fr>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] reset: ath79: Make reset_control_ops const
Date: Tue, 9 Feb 2016 23:48:53 +0100	[thread overview]
Message-ID: <20160209234853.5271d7ff@tock> (raw)
In-Reply-To: <1454938097-8468-1-git-send-email-p.zabel@pengutronix.de>

On Mon,  8 Feb 2016 14:28:17 +0100
Philipp Zabel <p.zabel@pengutronix.de> wrote:

> The ath79_reset_ops structure is never modified. Make it const.
> 
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> ---
>  drivers/reset/reset-ath79.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/reset/reset-ath79.c b/drivers/reset/reset-ath79.c
> index 692fc89..ccb940a 100644
> --- a/drivers/reset/reset-ath79.c
> +++ b/drivers/reset/reset-ath79.c
> @@ -70,7 +70,7 @@ static int ath79_reset_status(struct reset_controller_dev *rcdev,
>  	return !!(val & BIT(id));
>  }
>  
> -static struct reset_control_ops ath79_reset_ops = {
> +static const struct reset_control_ops ath79_reset_ops = {
>  	.assert = ath79_reset_assert,
>  	.deassert = ath79_reset_deassert,
>  	.status = ath79_reset_status,

Acked-by: Alban Bedel <albeu@free.fr>

      reply	other threads:[~2016-02-09 22:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08 13:28 [PATCH] reset: ath79: Make reset_control_ops const Philipp Zabel
2016-02-09 22:48 ` Alban [this message]

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=20160209234853.5271d7ff@tock \
    --to=albeu@free.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    /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