From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Jonathan Marek <jonathan@marek.ca>
Cc: Andy Gross <andy.gross@linaro.org>,
Niklas Cassel <niklas.cassel@linaro.org>,
Kalle Valo <kvalo@codeaurora.org>,
Brian Norris <briannorris@chromium.org>,
Jordan Crouse <jcrouse@codeaurora.org>,
Govind Singh <govinds@codeaurora.org>,
open list <linux-kernel@vger.kernel.org>,
linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH] firmware: qcom: scm: fix compilation error when disabled
Date: Wed, 5 Dec 2018 09:37:21 -0800 [thread overview]
Message-ID: <20181205173721.GA5232@tuxbook-pro> (raw)
In-Reply-To: <20181122023226.1074-1-jonathan@marek.ca>
+ linux-arm-msm
On Wed 21 Nov 18:32 PST 2018, Jonathan Marek wrote:
> This fixes the case when CONFIG_QCOM_SCM is not enabled, and linux/errno.h
> has not been included previously.
>
> Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Regards,
Bjorn
> ---
> drm/msm includes qcom_scm.h, but can be used with non-qcom hw (IMX5)
>
> include/linux/qcom_scm.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h
> index 06996ad4f2bc..1637385bcc17 100644
> --- a/include/linux/qcom_scm.h
> +++ b/include/linux/qcom_scm.h
> @@ -67,6 +67,9 @@ extern int qcom_scm_iommu_secure_ptbl_init(u64 addr, u32 size, u32 spare);
> extern int qcom_scm_io_readl(phys_addr_t addr, unsigned int *val);
> extern int qcom_scm_io_writel(phys_addr_t addr, unsigned int val);
> #else
> +
> +#include <linux/errno.h>
> +
> static inline
> int qcom_scm_set_cold_boot_addr(void *entry, const cpumask_t *cpus)
> {
> --
> 2.17.1
>
next prev parent reply other threads:[~2018-12-05 17:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-22 2:32 Jonathan Marek
2018-12-05 17:37 ` Bjorn Andersson [this message]
2018-12-05 22:44 ` Andy Gross
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=20181205173721.GA5232@tuxbook-pro \
--to=bjorn.andersson@linaro.org \
--cc=andy.gross@linaro.org \
--cc=briannorris@chromium.org \
--cc=govinds@codeaurora.org \
--cc=jcrouse@codeaurora.org \
--cc=jonathan@marek.ca \
--cc=kvalo@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=niklas.cassel@linaro.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
all inboxes | Powered by JetHome®