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>
This commit is contained in:
Christian Gromm 2017-11-21 15:05:16 +01:00 committed by Greg Kroah-Hartman
parent 8f20f2dca8
commit 4e6d561d51
1 changed files with 1 additions and 1 deletions

View File

@ -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);