public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Ben Dooks <ben.dooks@codethink.co.uk>
Cc: linux-kernel@lists.codethink.co.uk,
	Kevin Hilman <khilman@kernel.org>, Nishanth Menon <nm@ti.com>,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: OMAP2+: SmartReflex: add omap_sr_pdata definition
Date: Wed, 13 Nov 2019 13:16:24 +0100	[thread overview]
Message-ID: <4614865.hGV6RNsBzR@kreacher> (raw)
In-Reply-To: <20191015131238.25781-1-ben.dooks@codethink.co.uk>

On Tuesday, October 15, 2019 3:12:38 PM CET Ben Dooks wrote:
> The omap_sr_pdata is not declared but is exported, so add a
> define for it to fix the following warning:
> 
> arch/arm/mach-omap2/pdata-quirks.c:609:36: warning: symbol 'omap_sr_pdata' was not declared. Should it be static?
> 
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> ---
> Cc: Kevin Hilman <khilman@kernel.org>
> Cc: Nishanth Menon <nm@ti.com>
> Cc: linux-pm@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> ---
>  include/linux/power/smartreflex.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/include/linux/power/smartreflex.h b/include/linux/power/smartreflex.h
> index d0b37e937037..971c9264179e 100644
> --- a/include/linux/power/smartreflex.h
> +++ b/include/linux/power/smartreflex.h
> @@ -293,6 +293,9 @@ struct omap_sr_data {
>  	struct voltagedomain		*voltdm;
>  };
>  
> +
> +extern struct omap_sr_data omap_sr_pdata[OMAP_SR_NR];
> +
>  #ifdef CONFIG_POWER_AVS_OMAP
>  
>  /* Smartreflex module enable/disable interface */
> 

Applied as 5.5 material, thanks!





      reply	other threads:[~2019-11-13 12:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15 13:12 [PATCH] ARM: OMAP2+: SmartReflex: add omap_sr_pdata definition Ben Dooks
2019-11-13 12:16 ` Rafael J. Wysocki [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=4614865.hGV6RNsBzR@kreacher \
    --to=rjw@rjwysocki.net \
    --cc=ben.dooks@codethink.co.uk \
    --cc=khilman@kernel.org \
    --cc=linux-kernel@lists.codethink.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=nm@ti.com \
    /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