From 4dcaa5f75473271ea83545eb5a95db8d7a152362 Mon Sep 17 00:00:00 2001 From: Vladimirs Ambrosovs Date: Sat, 30 May 2015 11:20:17 +0300 Subject: [PATCH] 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 Signed-off-by: Jonathan Cameron --- drivers/staging/iio/iio_simple_dummy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5