Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358484
b: refs/heads/master
c: 91f8aec
h: refs/heads/master
v: v3
  • Loading branch information
Vinod Koul authored and Vinod Koul committed Jan 8, 2013
1 parent 0421b35 commit 1300c25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9743a3b62dee8c9d8af1319f8d1c1ff39130267d
refs/heads/master: 91f8aecc501e456c97a6f49f7ea3797e874d5d89
9 changes: 5 additions & 4 deletions trunk/include/linux/of_dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,26 @@ extern struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
extern struct dma_chan *of_dma_simple_xlate(struct of_phandle_args *dma_spec,
struct of_dma *ofdma);
#else
static int of_dma_controller_register(struct device_node *np,
static inline int of_dma_controller_register(struct device_node *np,
struct dma_chan *(*of_dma_xlate)
(struct of_phandle_args *, struct of_dma *),
void *data)
{
return -ENODEV;
}

static int of_dma_controller_free(struct device_node *np)
static inline int of_dma_controller_free(struct device_node *np)
{
return -ENODEV;
}

static struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
static inline struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
char *name)
{
return NULL;
}

static struct dma_chan *of_dma_simple_xlate(struct of_phandle_args *dma_spec,
static inline struct dma_chan *of_dma_simple_xlate(struct of_phandle_args *dma_spec,
struct of_dma *ofdma)
{
return NULL;
Expand Down

0 comments on commit 1300c25

Please sign in to comment.