Skip to contentSkip to conversation

scmi: pinctrl: Rename SCMI_PIN_DEFUALT to SCMI_PIN_DEFAULT

PATCH New Udit Kumar 1 participant 1 message Aug 10

lore
Share & tools
lore

Udit Kumar

author
#0 lore raw

PATCH 1/1 scmi: pinctrl: Rename SCMI_PIN_DEFUALT to SCMI_PIN_DEFAULT

Fix typo in enum scmi_config_type in include/scmi_protocols.h.

The enum value SCMI_PIN_DEFUALT was misspelled and should be SCMI_PIN_DEFAULT to match the correct English spelling. This fixes potential compilation issues and improves code clarity for any code that references this enum value

Fixes 0cb160f1b629 ("scmi: pinctrl: add pinctrl driver for SCMI")
---
 include/scmi_protocols.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/scmi_protocols.h +1 -1
index a8fd0a5a729..d6b1df4e206 100644
@@ -1340,7 +1340,7 @@ struct scmi_pinctrl_release_out {
 
 /* SCMI Pinctrl Config Types */
 enum scmi_config_type {
-	SCMI_PIN_DEFUALT = 0,
+	SCMI_PIN_DEFAULT = 0,
 	SCMI_PIN_BIAS_BUS_HOLD = 1,
 	SCMI_PIN_BIAS_DISABLE = 2,
 	SCMI_PIN_BIAS_HIGH_IMPEDANCE = 3,
Signature · 1 line
2.34.1