summaryrefslogtreecommitdiff
path: root/lib/igt_psr.h
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2018-09-20 10:59:17 -0700
committerDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>2018-09-20 16:44:03 -0700
commit3c7de9a662afff151574ada014e2c08085f57ba4 (patch)
tree23bbade1888c6928abe5b0552fb386f2ad9281e3 /lib/igt_psr.h
parentb4ca1cc2802e674953f19a15ac06938bbf58ffe3 (diff)
lib/igt_psr: Give a explicit parameter name to functions that expect debugfs fd
Let's rename to debugfs_fd all the parameters of the functions that expect debugfs fd to avoid call one those functions with the wrong file descriptor. Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'lib/igt_psr.h')
-rw-r--r--lib/igt_psr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/igt_psr.h b/lib/igt_psr.h
index 0ef22c3d..7c846afb 100644
--- a/lib/igt_psr.h
+++ b/lib/igt_psr.h
@@ -28,9 +28,9 @@
#include "igt_core.h"
#include "igt_aux.h"
-bool psr_wait_entry(int fd);
-bool psr_active(int fd, bool check_active);
-bool psr_enable(int fd);
-bool psr_disable(int fd);
+bool psr_wait_entry(int debugfs_fd);
+bool psr_active(int debugfs_fd, bool check_active);
+bool psr_enable(int debugfs_fd);
+bool psr_disable(int debugfs_fd);
#endif