All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Dmitry Osipenko <digetx@gmail.com>,
	Thierry Reding <thierry.reding@gmail.com>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org
Subject: Re: [PATCH v1 2/5] soc/tegra: irq: Add stubs needed for compile testing
Date: Wed, 16 Jun 2021 21:06:57 +0200	[thread overview]
Message-ID: <92b521c6-f3fd-4f2c-de4f-3363e0384f55@linaro.org> (raw)
In-Reply-To: <20210606222817.12388-3-digetx@gmail.com>

On 07/06/2021 00:28, Dmitry Osipenko wrote:
> Add stubs needed for compile-testing of tegra-cpuidle driver.
> 
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
>  include/soc/tegra/irq.h | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/include/soc/tegra/irq.h b/include/soc/tegra/irq.h
> index 8eb11a7109e4..94539551c8c1 100644
> --- a/include/soc/tegra/irq.h
> +++ b/include/soc/tegra/irq.h
> @@ -6,8 +6,15 @@
>  #ifndef __SOC_TEGRA_IRQ_H
>  #define __SOC_TEGRA_IRQ_H
>  
> -#if defined(CONFIG_ARM)
> +#include <linux/types.h>
> +
> +#if defined(CONFIG_ARM) && defined(CONFIG_ARCH_TEGRA)

Does not CONFIG_ARCH_TEGRA depends on CONFIG_ARM ?

>  bool tegra_pending_sgi(void);
> +#else
> +static inline bool tegra_pending_sgi(void)
> +{
> +	return false;
> +}
>  #endif
>  
>  #endif /* __SOC_TEGRA_IRQ_H */
> 


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

  reply	other threads:[~2021-06-16 19:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-06 22:28 [PATCH v1 0/5] Compile-test NVIDIA Tegra CPUIDLE driver Dmitry Osipenko
2021-06-06 22:28 ` [PATCH v1 1/5] soc/tegra: fuse: Add stubs needed for compile testing Dmitry Osipenko
2021-06-06 22:28 ` [PATCH v1 2/5] soc/tegra: irq: " Dmitry Osipenko
2021-06-16 19:06   ` Daniel Lezcano [this message]
2021-06-16 19:17     ` Dmitry Osipenko
2021-06-16 19:18       ` Daniel Lezcano
2021-06-06 22:28 ` [PATCH v1 3/5] soc/tegra: pm: Make stubs usable " Dmitry Osipenko
2021-06-06 22:28 ` [PATCH v1 4/5] clk: tegra: Add stubs needed " Dmitry Osipenko
2021-06-16 19:08   ` Daniel Lezcano
2021-06-16 19:35     ` Dmitry Osipenko
2021-06-06 22:28 ` [PATCH v1 5/5] cpuidle: tegra: Enable " Dmitry Osipenko
2021-06-16  7:37   ` kernel test robot
2021-06-16  7:37     ` kernel test robot
2021-06-16 19:24     ` Dmitry Osipenko
2021-06-16 19:24       ` Dmitry Osipenko
2021-06-16 19:45       ` Dmitry Osipenko
2021-06-16 19:45         ` Dmitry Osipenko

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=92b521c6-f3fd-4f2c-de4f-3363e0384f55@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=digetx@gmail.com \
    --cc=jonathanh@nvidia.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=thierry.reding@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.