* [PATCH] coresight: Add dummy definition for of_coresight_get_cpu()
@ 2019-06-03 16:21 Suzuki K Poulose
2019-06-06 17:45 ` Mathieu Poirier
0 siblings, 1 reply; 2+ messages in thread
From: Suzuki K Poulose @ 2019-06-03 16:21 UTC (permalink / raw)
To: mathieu.poirier; +Cc: Suzuki K Poulose, linux-arm-kernel, mike.leach
For !CONFIG_OF case, add a dummy definition for the of_coresight_get_cpu().
Reported-by: Mike Leach <mike.leach@linaro.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
---
drivers/hwtracing/coresight/coresight-platform.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/hwtracing/coresight/coresight-platform.c b/drivers/hwtracing/coresight/coresight-platform.c
index 6fef873..3c5ceda 100644
--- a/drivers/hwtracing/coresight/coresight-platform.c
+++ b/drivers/hwtracing/coresight/coresight-platform.c
@@ -307,6 +307,11 @@ of_get_coresight_platform_data(struct device *dev,
{
return -ENOENT;
}
+
+static inline int of_coresight_get_cpu(struct device *dev)
+{
+ return 0;
+}
#endif
#ifdef CONFIG_ACPI
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] coresight: Add dummy definition for of_coresight_get_cpu()
2019-06-03 16:21 [PATCH] coresight: Add dummy definition for of_coresight_get_cpu() Suzuki K Poulose
@ 2019-06-06 17:45 ` Mathieu Poirier
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Poirier @ 2019-06-06 17:45 UTC (permalink / raw)
To: Suzuki K Poulose; +Cc: linux-arm-kernel, Mike Leach
On Mon, 3 Jun 2019 at 10:21, Suzuki K Poulose <suzuki.poulose@arm.com> wrote:
>
> For !CONFIG_OF case, add a dummy definition for the of_coresight_get_cpu().
>
> Reported-by: Mike Leach <mike.leach@linaro.org>
> Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
> ---
> drivers/hwtracing/coresight/coresight-platform.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/hwtracing/coresight/coresight-platform.c b/drivers/hwtracing/coresight/coresight-platform.c
> index 6fef873..3c5ceda 100644
> --- a/drivers/hwtracing/coresight/coresight-platform.c
> +++ b/drivers/hwtracing/coresight/coresight-platform.c
> @@ -307,6 +307,11 @@ of_get_coresight_platform_data(struct device *dev,
> {
> return -ENOENT;
> }
> +
> +static inline int of_coresight_get_cpu(struct device *dev)
> +{
> + return 0;
> +}
> #endif
>
I have applied this patch.
> #ifdef CONFIG_ACPI
> --
> 2.7.4
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-06 17:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-03 16:21 [PATCH] coresight: Add dummy definition for of_coresight_get_cpu() Suzuki K Poulose
2019-06-06 17:45 ` Mathieu Poirier
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.