summaryrefslogtreecommitdiff
path: root/drivers/platform/chrome
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2019-06-18 10:32:31 +0200
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2019-06-18 10:32:31 +0200
commit35b52b3315a21d3314f859814717ca3583660f73 (patch)
tree77b8d03641f7785e494b9d31cbfc901513be1577 /drivers/platform/chrome
parent1fbc6ec2f35e28a23c9f0e9bef199bbbcfb4635e (diff)
platform/chrome: cros_ec_debugfs: cros_ec_uptime_fops can be static
Fixes: 909447f683b3 ("platform/chrome: cros_ec_debugfs: Add debugfs entry to retrieve EC uptime") Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'drivers/platform/chrome')
-rw-r--r--drivers/platform/chrome/cros_ec_debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/chrome/cros_ec_debugfs.c b/drivers/platform/chrome/cros_ec_debugfs.c
index cd3fb9c22a44..7ee060743844 100644
--- a/drivers/platform/chrome/cros_ec_debugfs.c
+++ b/drivers/platform/chrome/cros_ec_debugfs.c
@@ -286,7 +286,7 @@ static const struct file_operations cros_ec_pdinfo_fops = {
.llseek = default_llseek,
};
-const struct file_operations cros_ec_uptime_fops = {
+static const struct file_operations cros_ec_uptime_fops = {
.owner = THIS_MODULE,
.open = simple_open,
.read = cros_ec_uptime_read,