summaryrefslogtreecommitdiff
path: root/lib/igt_sysfs.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-27 13:07:39 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-27 15:43:25 +0200
commit430c1345d8a00d9c95a8e0852a61de67116143e5 (patch)
tree4f38b5e725c3629d92f0fc9be904e988c334393a /lib/igt_sysfs.h
parent2d672a107e8e37e3d9968daec5e4abddd1b66abc (diff)
lib: Update docs for igt_sysfs.c
Need to actually put it into the master .xml. Also rename the parameter names in the source with the ones in the header files to avoid confusion. gtkdoc requires that the names in the comment matches with the header. Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt_sysfs.h')
-rw-r--r--lib/igt_sysfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_sysfs.h b/lib/igt_sysfs.h
index 2ff798d3..7114f2f3 100644
--- a/lib/igt_sysfs.h
+++ b/lib/igt_sysfs.h
@@ -28,7 +28,7 @@
#include <stdbool.h>
int igt_sysfs_open(int device, int *idx);
-int igt_sysfs_open_parameters(int fd);
+int igt_sysfs_open_parameters(int device);
bool igt_sysfs_set(int dir, const char *attr, const char *value);
char *igt_sysfs_get(int dir, const char *attr);