mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
arm64/rockchip: Fix the build with GCC
We were missing brackets in GPIO_FLAGS_PINCTRL. Without them GCC complains a use is ambiguous. Fix by adding the needed brackets. Reviewed by: manu, brooks, imp, jhb, emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45264
This commit is contained in:
parent
73c2004473
commit
4f012d7a7a
|
@ -76,7 +76,7 @@ enum gpio_regs {
|
|||
GPIO_INTR_EDGE_RISING | GPIO_INTR_EDGE_FALLING | \
|
||||
GPIO_INTR_LEVEL_HIGH | GPIO_INTR_LEVEL_LOW)
|
||||
|
||||
#define GPIO_FLAGS_PINCTRL GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN
|
||||
#define GPIO_FLAGS_PINCTRL (GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN)
|
||||
#define RK_GPIO_MAX_PINS 32
|
||||
|
||||
struct pin_cached {
|
||||
|
|
Loading…
Reference in a new issue