summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-hlwd.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-09-17 10:54:05 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-09-24 13:52:35 +0200
commit64f89f6e1f2b7f8f203d218a8c8d90922e1d4048 (patch)
treeaf64659e83ac5cbaa9342761d520e6fc41be0901 /drivers/gpio/gpio-hlwd.c
parentfc511497101daf538355ab47ec36c377e524e65d (diff)
gpio: generic: rename BGPIOF_ flags to GPIO_GENERIC_
Make the flags passed to gpio_generic_chip_init() use the same prefix as the rest of the modernized generic GPIO chip API. Link: https://lore.kernel.org/r/20250917-gpio-generic-flags-v1-1-69f51fee8c89@linaro.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-hlwd.c')
-rw-r--r--drivers/gpio/gpio-hlwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-hlwd.c b/drivers/gpio/gpio-hlwd.c
index a395f87436ac..043ce5ef3b07 100644
--- a/drivers/gpio/gpio-hlwd.c
+++ b/drivers/gpio/gpio-hlwd.c
@@ -253,7 +253,7 @@ static int hlwd_gpio_probe(struct platform_device *pdev)
.dat = hlwd->regs + HW_GPIOB_IN,
.set = hlwd->regs + HW_GPIOB_OUT,
.dirout = hlwd->regs + HW_GPIOB_DIR,
- .flags = BGPIOF_BIG_ENDIAN_BYTE_ORDER,
+ .flags = GPIO_GENERIC_BIG_ENDIAN_BYTE_ORDER,
};
res = gpio_generic_chip_init(&hlwd->gpioc, &config);