summaryrefslogtreecommitdiff
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorVladimirs Ambrosovs <rodriguez.twister@gmail.com>2015-05-30 11:20:17 +0300
committerJonathan Cameron <jic23@kernel.org>2015-06-01 13:22:22 +0300
commit4dcaa5f75473271ea83545eb5a95db8d7a152362 (patch)
treee7fb9359716f8cde8bc2ddc1d857205757aeada6 /drivers/staging/iio
parent62a90da69df1255ba43d3b6595e71e639efd80a8 (diff)
downloadlinux-4dcaa5f75473271ea83545eb5a95db8d7a152362.tar.xz
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>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r--drivers/staging/iio/iio_simple_dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/iio_simple_dummy.c b/drivers/staging/iio/iio_simple_dummy.c
index dc9482c7569c..1629a8a6bf26 100644
--- a/drivers/staging/iio/iio_simple_dummy.c
+++ b/drivers/staging/iio/iio_simple_dummy.c
@@ -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;