Re: [PATCH] ACPI / sleep: Make acpi_sleep_syscore_init static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday, July 31, 2017 11:40:13 AM Jean Delvare wrote:
> Function acpi_sleep_syscore_init has no external user so it should be
> static.
> 
> Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
> Cc: "Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx>
> Cc: Len Brown <lenb@xxxxxxxxxx>
> ---
>  drivers/acpi/sleep.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-4.13-rc3.orig/drivers/acpi/sleep.c	2017-07-31 10:51:43.665159497 +0200
> +++ linux-4.13-rc3/drivers/acpi/sleep.c	2017-07-31 11:34:07.180873669 +0200
> @@ -870,7 +870,7 @@ static struct syscore_ops acpi_sleep_sys
>  	.resume = acpi_restore_bm_rld,
>  };
>  
> -void acpi_sleep_syscore_init(void)
> +static void acpi_sleep_syscore_init(void)
>  {
>  	register_syscore_ops(&acpi_sleep_syscore_ops);
>  }
> 
> 
> 

Applied, thanks!

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux