diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-05-19 07:34:10 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-05-20 10:39:45 +0100 |
commit | 775e49c9388836e9bd93816854f57f68b9088d20 (patch) | |
tree | b499bf3d1432c3f07e4bc4c6ace118859f232379 /lib/igt_params.h | |
parent | 299081df606d21a25978df401a1a57661b0836f8 (diff) |
Always pass device to igt_params_set
Don't second guess, require the user to provide the device that wish to
set the module parameter for.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Diffstat (limited to 'lib/igt_params.h')
-rw-r--r-- | lib/igt_params.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/igt_params.h b/lib/igt_params.h index ed17f34a..bbd6f3ee 100644 --- a/lib/igt_params.h +++ b/lib/igt_params.h @@ -34,7 +34,7 @@ bool igt_params_set(int device, const char *parameter, const char *fmt, ...); __attribute__((format(printf, 3, 4))) bool igt_params_save_and_set(int device, const char *parameter, const char *fmt, ...); -void igt_set_module_param(const char *name, const char *val); -void igt_set_module_param_int(const char *name, int val); +void igt_set_module_param(int device, const char *name, const char *val); +void igt_set_module_param_int(int device, const char *name, int val); #endif /* __IGT_PARAMS_H__ */ |