Re: [RFC PATCH chrome-platform-linux] platform/chrome: cros_ec_debugfs: cros_ec_uptime_fops can be static
From: Enric Balletbo i Serra
Date: Tue Jun 18 2019 - 04:40:44 EST
On 15/6/19 12:55, kbuild test robot wrote:
>
> Fixes: 909447f683b3 ("platform/chrome: cros_ec_debugfs: Add debugfs entry to retrieve EC uptime")
> Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
> ---
> cros_ec_debugfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/chrome/cros_ec_debugfs.c b/drivers/platform/chrome/cros_ec_debugfs.c
> index 970ba13d..d40902e 100644
> --- a/drivers/platform/chrome/cros_ec_debugfs.c
> +++ b/drivers/platform/chrome/cros_ec_debugfs.c
> @@ -285,7 +285,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,
>
applied for chrome-platform-5.3