platform/chrome: cros_ec_debugfs: cros_ec_uptime_fops can be static
authorkbuild test robot <lkp@intel.com>
Tue, 18 Jun 2019 08:32:31 +0000 (10:32 +0200)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Tue, 18 Jun 2019 08:32:31 +0000 (10:32 +0200)
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>
drivers/platform/chrome/cros_ec_debugfs.c

index cd3fb9c22a44edad800174064736c6a8ca25b293..7ee06074384442350f04160ef539d24e1155907f 100644 (file)
@@ -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,