aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/ec_acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec/ec_acpi.c')
-rw-r--r--src/ec/google/chromeec/ec_acpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/ec_acpi.c b/src/ec/google/chromeec/ec_acpi.c
index e344df098b..bf224b03e1 100644
--- a/src/ec/google/chromeec/ec_acpi.c
+++ b/src/ec/google/chromeec/ec_acpi.c
@@ -111,7 +111,8 @@ static const char *port_location_to_str(enum ec_pd_port_location port_location)
return "BACK_LEFT";
case EC_PD_PORT_LOCATION_BACK_RIGHT:
return "BACK_RIGHT";
- case EC_PD_PORT_LOCATION_UNKNOWN: /* intentional fallthrough */
+ case EC_PD_PORT_LOCATION_UNKNOWN:
+ __fallthrough;
default:
return "UNKNOWN";
}