diff options
author | Vladimirs Ambrosovs <rodriguez.twister@gmail.com> | 2015-05-30 08:20:17 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-06-01 10:22:22 (GMT) |
commit | 4dcaa5f75473271ea83545eb5a95db8d7a152362 (patch) | |
tree | e7fb9359716f8cde8bc2ddc1d857205757aeada6 /drivers/staging/iio | |
parent | 62a90da69df1255ba43d3b6595e71e639efd80a8 (diff) | |
download | linux-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.c | 2 |
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 dc9482c7..1629a8a 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; |