mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
platform/chrome: cros_ec_proto: Do not export cros_ec_cmd_xfer()
Now that all the remaining users of cros_ec_cmd_xfer() has been removed, make this function private to the cros_ec_proto module. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
This commit is contained in:
parent
698d4d35be
commit
c1e18d4fb9
2 changed files with 2 additions and 6 deletions
|
@ -496,8 +496,8 @@ EXPORT_SYMBOL(cros_ec_query_all);
|
||||||
*
|
*
|
||||||
* Return: 0 on success or negative error code.
|
* Return: 0 on success or negative error code.
|
||||||
*/
|
*/
|
||||||
int cros_ec_cmd_xfer(struct cros_ec_device *ec_dev,
|
static int cros_ec_cmd_xfer(struct cros_ec_device *ec_dev,
|
||||||
struct cros_ec_command *msg)
|
struct cros_ec_command *msg)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
@ -541,7 +541,6 @@ int cros_ec_cmd_xfer(struct cros_ec_device *ec_dev,
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(cros_ec_cmd_xfer);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cros_ec_cmd_xfer_status() - Send a command to the ChromeOS EC.
|
* cros_ec_cmd_xfer_status() - Send a command to the ChromeOS EC.
|
||||||
|
|
|
@ -216,9 +216,6 @@ int cros_ec_prepare_tx(struct cros_ec_device *ec_dev,
|
||||||
int cros_ec_check_result(struct cros_ec_device *ec_dev,
|
int cros_ec_check_result(struct cros_ec_device *ec_dev,
|
||||||
struct cros_ec_command *msg);
|
struct cros_ec_command *msg);
|
||||||
|
|
||||||
int cros_ec_cmd_xfer(struct cros_ec_device *ec_dev,
|
|
||||||
struct cros_ec_command *msg);
|
|
||||||
|
|
||||||
int cros_ec_cmd_xfer_status(struct cros_ec_device *ec_dev,
|
int cros_ec_cmd_xfer_status(struct cros_ec_device *ec_dev,
|
||||||
struct cros_ec_command *msg);
|
struct cros_ec_command *msg);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue