staging: most: core: fix data type
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 21 Nov 2017 14:05:16 +0000 (15:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:37 +0000 (09:20 +0100)
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>
drivers/staging/most/core.h

index 52db7fa..74a2916 100644 (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);