aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <[email protected]>2022-08-24 17:32:56 +0200
committerRob Herring <[email protected]>2022-08-25 14:00:31 -0500
commit40bfe7a86d84cf08ac6a8fe2f0c8bf7a43edd110 (patch)
tree669d95a2aa5c0caf3d90650aa16b6e4eebb0b14d
parentc6a43fb3487f7e040170e60cdb9b030c669e9cf5 (diff)
of/device: Fix up of_dma_configure_id() stub
Since the stub version of of_dma_configure_id() was added in commit a081bd4af4ce ("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: a081bd4af4ce ("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]>
-rw-r--r--include/linux/of_device.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/of_device.h b/include/linux/of_device.h
index 1d7992a02e36..1a803e4335d3 100644
--- a/include/linux/of_device.h
+++ b/include/linux/of_device.h
@@ -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;
}