mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 00:40:03 +00:00
of/device: Fix up of_dma_configure_id() stub
Since the stub version of of_dma_configure_id() was added in commita081bd4af4
("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:a081bd4af4
("of/device: Add input id to of_dma_configure()") Cc: stable@vger.kernel.org Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Frank Rowand <frank.rowand@sony.com> Acked-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Link: https://lore.kernel.org/r/20220824153256.1437483-1-thierry.reding@gmail.com Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
c6a43fb348
commit
40bfe7a86d
1 changed files with 3 additions and 2 deletions
|
@ -101,8 +101,9 @@ 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)
|
||||
struct device_node *np,
|
||||
bool force_dma,
|
||||
const u32 *id)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue