aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/chrome/cros_typec_vdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/chrome/cros_typec_vdm.c')
-rw-r--r--drivers/platform/chrome/cros_typec_vdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/chrome/cros_typec_vdm.c b/drivers/platform/chrome/cros_typec_vdm.c
index 20515ee0a20e..3f632fd35000 100644
--- a/drivers/platform/chrome/cros_typec_vdm.c
+++ b/drivers/platform/chrome/cros_typec_vdm.c
@@ -142,7 +142,7 @@ static int cros_typec_port_amode_vdm(struct typec_altmode *amode, const u32 hdr,
sizeof(req), NULL, 0);
}
-struct typec_altmode_ops port_amode_ops = {
+const struct typec_altmode_ops port_amode_ops = {
.enter = cros_typec_port_amode_enter,
.vdm = cros_typec_port_amode_vdm,
};