Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297201
b: refs/heads/master
c: 3e0b2a1
h: refs/heads/master
i:
  297199: 3129e17
v: v3
  • Loading branch information
Sumit Semwal committed Mar 26, 2012
1 parent d2ec6e4 commit c951a95
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 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: fbb231e1a98cb0360b681b6a6195a619e98d7077
refs/heads/master: 3e0b2a1993c06e646d90d71e163d03869a211a4c
27 changes: 14 additions & 13 deletions trunk/include/linux/dma-buf.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static inline struct dma_buf *dma_buf_export(void *priv,
return ERR_PTR(-ENODEV);
}

static inline int dma_buf_fd(struct dma_buf *dmabuf)
static inline int dma_buf_fd(struct dma_buf *dmabuf, int flags)
{
return -ENODEV;
}
Expand All @@ -215,36 +215,37 @@ static inline void dma_buf_unmap_attachment(struct dma_buf_attachment *attach,
return;
}

static inline int dma_buf_begin_cpu_access(struct dma_buf *,
size_t, size_t,
enum dma_data_direction)
static inline int dma_buf_begin_cpu_access(struct dma_buf *dmabuf,
size_t start, size_t len,
enum dma_data_direction dir)
{
return -ENODEV;
}

static inline void dma_buf_end_cpu_access(struct dma_buf *,
size_t, size_t,
enum dma_data_direction)
static inline void dma_buf_end_cpu_access(struct dma_buf *dmabuf,
size_t start, size_t len,
enum dma_data_direction dir)
{
}

static inline void *dma_buf_kmap_atomic(struct dma_buf *, unsigned long)
static inline void *dma_buf_kmap_atomic(struct dma_buf *dmabuf,
unsigned long pnum)
{
return NULL;
}

static inline void dma_buf_kunmap_atomic(struct dma_buf *, unsigned long,
void *)
static inline void dma_buf_kunmap_atomic(struct dma_buf *dmabuf,
unsigned long pnum, void *vaddr)
{
}

static inline void *dma_buf_kmap(struct dma_buf *, unsigned long)
static inline void *dma_buf_kmap(struct dma_buf *dmabuf, unsigned long pnum)
{
return NULL;
}

static inline void dma_buf_kunmap(struct dma_buf *, unsigned long,
void *)
static inline void dma_buf_kunmap(struct dma_buf *dmabuf,
unsigned long pnum, void *vaddr)
{
}
#endif /* CONFIG_DMA_SHARED_BUFFER */
Expand Down

0 comments on commit c951a95

Please sign in to comment.