Skip to content

Commit 447b4eb

Browse files
Prashant MalaniEnric Balletbo i Serra
authored andcommitted
platform/chrome: cros_ec_typec: Make configure_mux static
Since cros_typec_configure_mux() is only used in cros-ec-typec, it should be marked static. Fixes: 7e7def1 ("platform/chrome: cros_ec_typec: Add USB mux control") Reported-by: kernel test robot <[email protected]> Signed-off-by: Prashant Malani <[email protected]> Signed-off-by: Enric Balletbo i Serra <[email protected]>
1 parent 410457b commit 447b4eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/platform/chrome/cros_ec_typec.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,9 @@ static int cros_typec_enable_dp(struct cros_typec_data *typec,
428428
return typec_mux_set(port->mux, &port->state);
429429
}
430430

431-
int cros_typec_configure_mux(struct cros_typec_data *typec, int port_num,
432-
uint8_t mux_flags,
433-
struct ec_response_usb_pd_control_v2 *pd_ctrl)
431+
static int cros_typec_configure_mux(struct cros_typec_data *typec, int port_num,
432+
uint8_t mux_flags,
433+
struct ec_response_usb_pd_control_v2 *pd_ctrl)
434434
{
435435
struct cros_typec_port *port = typec->ports[port_num];
436436
enum typec_orientation orientation;

0 commit comments

Comments
 (0)