diff --git a/drivers/staging/typec/tcpm.c b/drivers/staging/typec/tcpm.c index 7b5ba27dd935..a911cad41a59 100644 --- a/drivers/staging/typec/tcpm.c +++ b/drivers/staging/typec/tcpm.c @@ -2131,7 +2131,7 @@ static void tcpm_swap_complete(struct tcpm_port *port, int result) } } -enum typec_pwr_opmode tcpm_get_pwr_opmode(enum typec_cc_status cc) +static enum typec_pwr_opmode tcpm_get_pwr_opmode(enum typec_cc_status cc) { switch (cc) { case TYPEC_CC_RP_1_5: