diff options
author | Tom Rini <trini@konsulko.com> | 2025-02-26 14:31:32 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-05-09 10:42:09 -0600 |
commit | c5f57de37c74b96514723f92cbb656d26fb3385c (patch) | |
tree | e13a4704a8d34bedec84ffd67116da4db05412af | |
parent | cd2dc5f448df29b88668a1e1d97971f2007399eb (diff) |
gpio: x86: Correct usage of IS_ENABLED() macro in intel_pinctrl_defs.h
This file was using IS_ENABLED() to test for CONFIG flags but omitted
the CONFIG_ prefix and so did not work as expected.
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | arch/x86/include/asm/intel_pinctrl_defs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/include/asm/intel_pinctrl_defs.h b/arch/x86/include/asm/intel_pinctrl_defs.h index 5d83d24bae2..f45c06076f5 100644 --- a/arch/x86/include/asm/intel_pinctrl_defs.h +++ b/arch/x86/include/asm/intel_pinctrl_defs.h @@ -133,7 +133,7 @@ #define PAD_CFG2_DEBOUNCE_MASK 0x1f /* voltage tolerance 0=3.3V default 1=1.8V tolerant */ -#if IS_ENABLED(INTEL_PINCTRL_IOSTANDBY) +#if IS_ENABLED(CONFIG_INTEL_PINCTRL_IOSTANDBY) #define PAD_CFG1_TOL_MASK (0x1 << 25) #define PAD_CFG1_TOL_1V8 (0x1 << 25) #endif @@ -150,7 +150,7 @@ PAD_CFG0_TRIG_##trig | \ PAD_CFG0_RX_POL_##inv) -#if IS_ENABLED(INTEL_PINCTRL_DUAL_ROUTE_SUPPORT) +#if IS_ENABLED(CONFIG_INTEL_PINCTRL_DUAL_ROUTE_SUPPORT) #define PAD_IRQ_CFG_DUAL_ROUTE(route1, route2, trig, inv) \ (PAD_CFG0_ROUTE_##route1 | \ PAD_CFG0_ROUTE_##route2 | \ @@ -354,7 +354,7 @@ PAD_IRQ_CFG(NMI, trig, inv), PAD_PULL(pull) | \ PAD_IOSSTATE(TXD_RXE)) -#if IS_ENABLED(INTEL_PINCTRL_DUAL_ROUTE_SUPPORT) +#if IS_ENABLED(CONFIG_INTEL_PINCTRL_DUAL_ROUTE_SUPPORT) /* GPI, GPIO Driver, SCI interrupt */ #define PAD_CFG_GPI_GPIO_DRIVER_SCI(pad, pull, rst, trig, inv) \ _PAD_CFG_STRUCT(pad, \ |