Messages in this thread Patch in this message | | | Date | Tue, 27 Oct 2020 22:27:14 +0800 | From | kernel test robot <> | Subject | [RFC PATCH] platform/chrome: cros_ec_typec: cros_typec_cmds_supported() can be static |
| |
Signed-off-by: kernel test robot <lkp@intel.com> --- cros_ec_typec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/chrome/cros_ec_typec.c b/drivers/platform/chrome/cros_ec_typec.c index 98d22720b365fe..f578d0bfbe5a75 100644 --- a/drivers/platform/chrome/cros_ec_typec.c +++ b/drivers/platform/chrome/cros_ec_typec.c @@ -695,7 +695,7 @@ static int cros_typec_get_cmd_version(struct cros_typec_data *typec) } /* Check the EC feature flags to see if TYPEC_* commands are supported. */ -int cros_typec_cmds_supported(struct cros_typec_data *typec) +static int cros_typec_cmds_supported(struct cros_typec_data *typec) { struct ec_response_get_features resp = {}; int ret;
| |