]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/of_device.h
of: dma: Make of_dma_deconfigure() public
[karo-tx-linux.git] / include / linux / of_device.h
index c12dace043f3c840a8bb4d4540e06f897eeca8cb..af984551cc2bcb93f5cad0f11e801ccd22497059 100644 (file)
@@ -56,6 +56,7 @@ static inline struct device_node *of_cpu_device_node_get(int cpu)
 }
 
 void of_dma_configure(struct device *dev, struct device_node *np);
+void of_dma_deconfigure(struct device *dev);
 #else /* CONFIG_OF */
 
 static inline int of_driver_match_device(struct device *dev,
@@ -105,6 +106,8 @@ static inline struct device_node *of_cpu_device_node_get(int cpu)
 }
 static inline void of_dma_configure(struct device *dev, struct device_node *np)
 {}
+static inline void of_dma_deconfigure(struct device *dev)
+{}
 #endif /* CONFIG_OF */
 
 #endif /* _LINUX_OF_DEVICE_H */