aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-brcmstb.c
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-21 15:16:38 +0000
committersaturneric <[email protected]>2025-04-21 15:16:38 +0000
commitb6fa6aab249ea9a41adf12b81c3fdc57adbe2c59 (patch)
tree89bf2c4a4dd6d00f18f22dbdef080fc205a407ad /drivers/gpio/gpio-brcmstb.c
parentfix: patch to bcm2712-rpi-5-b.dts solving boot issues (diff)
parentgcc-15: disable '-Wunterminated-string-initialization' entirely for now (diff)
downloadkernel-b6fa6aab249ea9a41adf12b81c3fdc57adbe2c59.tar.gz
kernel-b6fa6aab249ea9a41adf12b81c3fdc57adbe2c59.zip
Merge remote-tracking UNTIL 21. Apr. 2025
Diffstat (limited to 'drivers/gpio/gpio-brcmstb.c')
-rw-r--r--drivers/gpio/gpio-brcmstb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-brcmstb.c b/drivers/gpio/gpio-brcmstb.c
index 0a7a4fe9e1c6..1722b0f9155c 100644
--- a/drivers/gpio/gpio-brcmstb.c
+++ b/drivers/gpio/gpio-brcmstb.c
@@ -9,6 +9,7 @@
#include <linux/irqchip/chained_irq.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
+#include <linux/string_choices.h>
enum gio_reg_index {
GIO_REG_ODEN = 0,
@@ -224,7 +225,7 @@ static int brcmstb_gpio_priv_set_wake(struct brcmstb_gpio_priv *priv,
ret = disable_irq_wake(priv->parent_wake_irq);
if (ret)
dev_err(&priv->pdev->dev, "failed to %s wake-up interrupt\n",
- enable ? "enable" : "disable");
+ str_enable_disable(enable));
return ret;
}