diff --git a/drivers/of/of_private.h b/drivers/of/of_private.h index 25cebbed5f02..c9494971ff21 100644 --- a/drivers/of/of_private.h +++ b/drivers/of/of_private.h @@ -171,7 +171,8 @@ static inline int of_dma_get_range(struct device_node *np, static inline int of_dma_set_restricted_buffer(struct device *dev, struct device_node *np) { - return -ENODEV; + /* Do nothing, successfully. */ + return 0; } #endif