From 4e6d561d51f91ad465e127b6b5fabf1f1db01fc5 Mon Sep 17 00:00:00 2001 From: Christian Gromm Date: Tue, 21 Nov 2017 15:05:16 +0100 Subject: [PATCH] staging: most: core: fix data type This patch fixes the type used to manage the channels of an registered MOST interface. Signed-off-by: Christian Gromm Signed-off-by: Greg Kroah-Hartman --- drivers/staging/most/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/most/core.h b/drivers/staging/most/core.h index 52db7fa15f65..74a29163b68a 100644 --- a/drivers/staging/most/core.h +++ b/drivers/staging/most/core.h @@ -232,7 +232,7 @@ struct most_interface { struct module *mod; enum most_interface_type interface; const char *description; - int num_channels; + unsigned int num_channels; struct most_channel_capability *channel_vector; int (*configure)(struct most_interface *iface, int channel_idx, struct most_channel_config *channel_config); -- 2.45.2