]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: iio_simple_dummy: fix module_param type
authorVladimirs Ambrosovs <rodriguez.twister@gmail.com>
Sat, 30 May 2015 08:20:17 +0000 (11:20 +0300)
committerJonathan Cameron <jic23@kernel.org>
Mon, 1 Jun 2015 10:22:22 +0000 (11:22 +0100)
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>
drivers/staging/iio/iio_simple_dummy.c

index dc9482c7569cbcb2a032c9f8a16387ed79c92a5b..1629a8a6bf269ef672b35820f7746c5f767039a7 100644 (file)
@@ -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;