Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4dcaa5f7 authored by Vladimirs Ambrosovs's avatar Vladimirs Ambrosovs Committed by Jonathan Cameron
Browse files

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: default avatarVladimirs Ambrosovs <rodriguez.twister@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 62a90da6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;