Commit 40a1c5b3 authored by Suzuki K Poulose's avatar Suzuki K Poulose Committed by Greg Kroah-Hartman

coresight: Add dummy definition for of_coresight_get_cpu()

For !CONFIG_OF case, add a dummy definition for the of_coresight_get_cpu().
Reported-by: default avatarMike Leach <mike.leach@linaro.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 115b1aa2
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment