提交 40bfe7a8 编写于 作者: T Thierry Reding 提交者: Rob Herring

of/device: Fix up of_dma_configure_id() stub

Since the stub version of of_dma_configure_id() was added in commit
a081bd4a ("of/device: Add input id to of_dma_configure()"), it has
not matched the signature of the full function, leading to build failure
reports when code using this function is built on !OF configurations.

Fixes: a081bd4a ("of/device: Add input id to of_dma_configure()")
Cc: stable@vger.kernel.org
Signed-off-by: NThierry Reding <treding@nvidia.com>
Reviewed-by: NFrank Rowand <frank.rowand@sony.com>
Acked-by: NLorenzo Pieralisi <lpieralisi@kernel.org>
Link: https://lore.kernel.org/r/20220824153256.1437483-1-thierry.reding@gmail.comSigned-off-by: NRob Herring <robh@kernel.org>
上级 c6a43fb3
......@@ -102,7 +102,8 @@ static inline struct device_node *of_cpu_device_node_get(int cpu)
static inline int of_dma_configure_id(struct device *dev,
struct device_node *np,
bool force_dma)
bool force_dma,
const u32 *id)
{
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册