aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/industrialio-sw-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/industrialio-sw-device.c')
-rw-r--r--drivers/iio/industrialio-sw-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/industrialio-sw-device.c b/drivers/iio/industrialio-sw-device.c
index 49f775f16ad5..cdaf30a3f233 100644
--- a/drivers/iio/industrialio-sw-device.c
+++ b/drivers/iio/industrialio-sw-device.c
@@ -27,7 +27,7 @@ static DEFINE_MUTEX(iio_device_types_lock);
static
struct iio_sw_device_type *__iio_find_sw_device_type(const char *name,
- unsigned len)
+ unsigned int len)
{
struct iio_sw_device_type *d = NULL, *iter;