summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.h
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-10-09 23:53:15 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2013-10-15 19:32:09 +0100
commitd4e7ddf15d69fdb17d25446edcd6c73a684b759b (patch)
treedde534bd7a320a47f2fea33f851541934721a580 /lib/igt_debugfs.h
parent952d4b0a9c835d1d2e4e2c1b8727d225c805c8c6 (diff)
lib: Make igt_debugfs_open() take the mode as argument
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'lib/igt_debugfs.h')
-rw-r--r--lib/igt_debugfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index 1035a933..1ae6bbdf 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -33,7 +33,7 @@ typedef struct {
} igt_debugfs_t;
int igt_debugfs_init(igt_debugfs_t *debugfs);
-int igt_debugfs_open(igt_debugfs_t *debugfs, const char *filename);
+int igt_debugfs_open(igt_debugfs_t *debugfs, const char *filename, int mode);
FILE *igt_debugfs_fopen(igt_debugfs_t *debugfs, const char *filename,
const char *mode);