浏览代码

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>
Christian Gromm 7 年之前
父节点
当前提交
4e6d561d51
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/staging/most/core.h

+ 1 - 1
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);