提交 4dcaa5f7 编写于 作者: V Vladimirs Ambrosovs 提交者: 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: NVladimirs Ambrosovs <rodriguez.twister@gmail.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 62a90da6
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册