Skip to content

Commit 40bfe7a

Browse files
thierryredingrobherring
authored andcommitted
of/device: Fix up of_dma_configure_id() stub
Since the stub version of of_dma_configure_id() was added in commit a081bd4 ("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: a081bd4 ("of/device: Add input id to of_dma_configure()") Cc: [email protected] Signed-off-by: Thierry Reding <[email protected]> Reviewed-by: Frank Rowand <[email protected]> Acked-by: Lorenzo Pieralisi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent c6a43fb commit 40bfe7a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/linux/of_device.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ static inline struct device_node *of_cpu_device_node_get(int cpu)
101101
}
102102

103103
static inline int of_dma_configure_id(struct device *dev,
104-
struct device_node *np,
105-
bool force_dma)
104+
struct device_node *np,
105+
bool force_dma,
106+
const u32 *id)
106107
{
107108
return 0;
108109
}

0 commit comments

Comments
 (0)