summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSumit Semwal <sumit.semwal@linaro.org>2014-02-03 15:09:12 +0530
committerChanho Park <chanho61.park@samsung.com>2014-11-21 19:12:21 +0900
commit38aa55690f3c2464a3dc2e85b36a5ef84de36c05 (patch)
tree508bf349d7c9ee63b13193dccd0ce4540944f94e /include
parentc23fee23ef2322f0305442de4f38dbcdee9f5f14 (diff)
downloadlinux-3.10-38aa55690f3c2464a3dc2e85b36a5ef84de36c05.tar.gz
linux-3.10-38aa55690f3c2464a3dc2e85b36a5ef84de36c05.tar.bz2
linux-3.10-38aa55690f3c2464a3dc2e85b36a5ef84de36c05.zip
dma-buf: update debugfs output
Russell King observed 'wierd' looking output from debugfs, and also suggested better ways of getting device names (use KBUILD_MODNAME, dev_name()) This patch addresses these issues to make the debugfs output correct and better looking. While at it, replace seq_printf with seq_puts to remove the checkpatch.pl warnings. Reported-by: Russell King - ARM Linux <linux@arm.linux.org.uk> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dma-buf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h
index dfac5ed3112..f886985a28b 100644
--- a/include/linux/dma-buf.h
+++ b/include/linux/dma-buf.h
@@ -171,7 +171,7 @@ struct dma_buf *dma_buf_export_named(void *priv, const struct dma_buf_ops *ops,
size_t size, int flags, const char *);
#define dma_buf_export(priv, ops, size, flags) \
- dma_buf_export_named(priv, ops, size, flags, __FILE__)
+ dma_buf_export_named(priv, ops, size, flags, KBUILD_MODNAME)
int dma_buf_fd(struct dma_buf *dmabuf, int flags);
struct dma_buf *dma_buf_get(int fd);