linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH Resend 1/3] PSCI: add missing dependency on CONFIG_OF for PSCI.
Date: Wed, 14 Aug 2013 23:54:48 +0400	[thread overview]
Message-ID: <520BE088.5060109@cogentembedded.com> (raw)
In-Reply-To: <1376500987-12797-2-git-send-email-jonathan.austin@arm.com>

Hello.

On 08/14/2013 09:23 PM, Jonathan Austin wrote:

> The PSCI initialisation depends on data found in the DT. Without this the
> including PSCI support makes little sense, and furthermore the of_* stub
> functions aren't broad enough to ensure that this builds without CONFIG_OF.

> As there is little enthusiasm for extending these stubs without useful use-cases
> (of which this is *not* an example) this patch prevents building of PSCI
> without CONFIG_OF.

> Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
> ---
>   arch/arm/Kconfig |    1 +
>   1 file changed, 1 insertion(+)

> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index ba412e0..972ec25 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1577,6 +1577,7 @@ config HOTPLUG_CPU
>   config ARM_PSCI
>   	bool "Support for the ARM Power State Coordination Interface (PSCI)"
>   	depends on CPU_V7
> +	depends on CONFIG_OF

    I think you meant just OF. :-)

WBR, Sergei

  reply	other threads:[~2013-08-14 19:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14 17:23 [PATCH Resend 0/3] trivial fixes relating to !CONFIG_OF Jonathan Austin
2013-08-14 17:23 ` [PATCH Resend 1/3] PSCI: add missing dependency on CONFIG_OF for PSCI Jonathan Austin
2013-08-14 19:54   ` Sergei Shtylyov [this message]
2013-08-15 13:51     ` Jonathan Austin
2013-08-15 14:01   ` Jonathan Austin
2013-08-14 17:23 ` [PATCH Resend 2/3] clocksource: Add missing dependency on CONFIG_OF for ARM_ARCH_TIMER Jonathan Austin
2013-08-14 17:23 ` [PATCH Resend 3/3] ARM: arch_timer: Add missing include for of_* functions Jonathan Austin

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=520BE088.5060109@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).