From: Christian Gromm Date: Tue, 21 Nov 2017 14:05:16 +0000 (+0100) Subject: staging: most: core: fix data type X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4e6d561d51f91ad465e127b6b5fabf1f1db01fc5;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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);