提交 e3b445d7 编写于 作者: T Thierry Reding 提交者: Linus Walleij

gpio: Use unsigned int for of_gpio_n_cells

The cell count for GPIO specifiers can never be negative, so make the
field unsigned.
Signed-off-by: NThierry Reding <treding@nvidia.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 486707b7
......@@ -193,7 +193,7 @@ struct gpio_chip {
*
* Number of cells used to form the GPIO specifier.
*/
int of_gpio_n_cells;
unsigned int of_gpio_n_cells;
/**
* @of_xlate:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册