[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200207065200.eevscpn4h7d7ocvr@f53c9c00458a>
Date: Fri, 7 Feb 2020 14:52:00 +0800
From: kbuild test robot <lkp@...el.com>
To: Prashant Malani <pmalani@...omium.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
heikki.krogerus@...el.com, enric.balletbo@...labora.com,
bleung@...omium.org, Prashant Malani <pmalani@...omium.org>,
Guenter Roeck <groeck@...omium.org>
Subject: [RFC PATCH] platform/chrome: cros_typec_parse_port_props() can be
static
Fixes: 2adbeaafa10e ("platform/chrome: Add Type C connector class driver")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
cros_ec_typec.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/platform/chrome/cros_ec_typec.c b/drivers/platform/chrome/cros_ec_typec.c
index fe5659171c2a85..9b83aa4d5456d4 100644
--- a/drivers/platform/chrome/cros_ec_typec.c
+++ b/drivers/platform/chrome/cros_ec_typec.c
@@ -25,9 +25,9 @@ struct cros_typec_data {
struct typec_port *ports[EC_USB_PD_MAX_PORTS];
};
-int cros_typec_parse_port_props(struct typec_capability *cap,
- struct fwnode_handle *fwnode,
- struct device *dev)
+static int cros_typec_parse_port_props(struct typec_capability *cap,
+ struct fwnode_handle *fwnode,
+ struct device *dev)
{
const char *buf;
int ret;
Powered by blists - more mailing lists