mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
staging: iio_simple_dummy: fix module_param type
Fix the module_param "instances" type to uint, since the variable type holding the value is unsigned. Signed-off-by: Vladimirs Ambrosovs <rodriguez.twister@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
62a90da69d
commit
4dcaa5f754
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
* dummy devices are registered.
|
||||
*/
|
||||
static unsigned instances = 1;
|
||||
module_param(instances, int, 0);
|
||||
module_param(instances, uint, 0);
|
||||
|
||||
/* Pointer array used to fake bus elements */
|
||||
static struct iio_dev **iio_dummy_devs;
|
||||
|
|
Loading…
Reference in a new issue