diff options
author | Daniel Lim Wee Soong <weesoong.lim@gmail.com> | 2019-03-29 19:21:35 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-04-01 07:54:40 +0000 |
commit | df2dbbc8174b580ea3b30bff2b2c13daefa0de88 (patch) | |
tree | 03ee79b6c9c9c249cc8dc81fae179b9b908bbab9 /src/cpu/ti/am335x/gpio.h | |
parent | 847289d49e8b0ab375f1d8dc9eaf6ecf707aa21f (diff) |
cpu/ti/am335x: Fix checkpatch warnings
Replace occurences of 'unsigned' with 'unsigned int' to fix
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by: Daniel Lim Wee Soong <weesoong.lim@gmail.com>
Change-Id: I94665e8fcb4719521d143774aa84f630b10ee68a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32119
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: ron minnich <rminnich@gmail.com>
Diffstat (limited to 'src/cpu/ti/am335x/gpio.h')
-rw-r--r-- | src/cpu/ti/am335x/gpio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/ti/am335x/gpio.h b/src/cpu/ti/am335x/gpio.h index c04a00ce0f..616c0afd9e 100644 --- a/src/cpu/ti/am335x/gpio.h +++ b/src/cpu/ti/am335x/gpio.h @@ -62,9 +62,9 @@ static struct am335x_gpio_regs * const am335x_gpio_banks[] = { void am335x_disable_gpio_irqs(void); -int gpio_direction_input(unsigned gpio); -int gpio_direction_output(unsigned gpio, int value); -int gpio_get_value(unsigned gpio); -int gpio_set_value(unsigned gpio, int value); +int gpio_direction_input(unsigned int gpio); +int gpio_direction_output(unsigned int gpio, int value); +int gpio_get_value(unsigned int gpio); +int gpio_set_value(unsigned int gpio, int value); #endif /* __CPU_TI_AM335X_CLOCK_H__ */ |