summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2017-11-21 15:05:16 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-27 09:20:37 +0100
commit4e6d561d51f91ad465e127b6b5fabf1f1db01fc5 (patch)
treec7bfdc4839857136c8635aff82b603165cb5c5ac /drivers
parent8f20f2dca8b390b4fe9e40ed6196c805a3f07b66 (diff)
downloadlinux-stable-4e6d561d51f91ad465e127b6b5fabf1f1db01fc5.tar.gz
linux-stable-4e6d561d51f91ad465e127b6b5fabf1f1db01fc5.tar.bz2
linux-stable-4e6d561d51f91ad465e127b6b5fabf1f1db01fc5.zip
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 <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/most/core.h2
1 files changed, 1 insertions, 1 deletions
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);