diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2013-02-24 10:36:09 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-04-15 00:22:03 -0400 |
commit | bef29ec508e58bf8b9ec0915de5b0739fb800c91 (patch) | |
tree | cd51452c8e8f1dcd1070daf0cf13f6cfa1e95b1f /include/linux/of_dma.h | |
parent | 41ef2d5678d83af030125550329b6ae8b74618fa (diff) |
DMA: of: Constant names
No DMA of-function alters the name, so this patch changes the name arguments
to be constant. Most drivers will probably request DMA channels using a
constant name.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/of_dma.h')
-rw-r--r-- | include/linux/of_dma.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/of_dma.h b/include/linux/of_dma.h index d15073e080dd..ce6a8ab3d2bb 100644 --- a/include/linux/of_dma.h +++ b/include/linux/of_dma.h | |||
@@ -40,7 +40,7 @@ extern int of_dma_controller_register(struct device_node *np, | |||
40 | void *data); | 40 | void *data); |
41 | extern int of_dma_controller_free(struct device_node *np); | 41 | extern int of_dma_controller_free(struct device_node *np); |
42 | extern struct dma_chan *of_dma_request_slave_channel(struct device_node *np, | 42 | extern struct dma_chan *of_dma_request_slave_channel(struct device_node *np, |
43 | char *name); | 43 | const char *name); |
44 | extern struct dma_chan *of_dma_simple_xlate(struct of_phandle_args *dma_spec, | 44 | extern struct dma_chan *of_dma_simple_xlate(struct of_phandle_args *dma_spec, |
45 | struct of_dma *ofdma); | 45 | struct of_dma *ofdma); |
46 | #else | 46 | #else |
@@ -58,7 +58,7 @@ static inline int of_dma_controller_free(struct device_node *np) | |||
58 | } | 58 | } |
59 | 59 | ||
60 | static inline struct dma_chan *of_dma_request_slave_channel(struct device_node *np, | 60 | static inline struct dma_chan *of_dma_request_slave_channel(struct device_node *np, |
61 | char *name) | 61 | const char *name) |
62 | { | 62 | { |
63 | return NULL; | 63 | return NULL; |
64 | } | 64 | } |