mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 06:37:59 +00:00
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: Thierry Reding <treding@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
486707b737
commit
e3b445d778
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue