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

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
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
* dummy devices are registered. * dummy devices are registered.
*/ */
static unsigned instances = 1; static unsigned instances = 1;
module_param(instances, int, 0); module_param(instances, uint, 0);
/* Pointer array used to fake bus elements */ /* Pointer array used to fake bus elements */
static struct iio_dev **iio_dummy_devs; static struct iio_dev **iio_dummy_devs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment