From patchwork Mon Jul 31 09:40:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 9871333 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9F5C0603B4 for ; Mon, 31 Jul 2017 09:40:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9474A28545 for ; Mon, 31 Jul 2017 09:40:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8926128564; Mon, 31 Jul 2017 09:40:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D35AC28562 for ; Mon, 31 Jul 2017 09:40:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750847AbdGaJkQ (ORCPT ); Mon, 31 Jul 2017 05:40:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:42068 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750739AbdGaJkQ (ORCPT ); Mon, 31 Jul 2017 05:40:16 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 202B6AB22; Mon, 31 Jul 2017 09:40:15 +0000 (UTC) Date: Mon, 31 Jul 2017 11:40:13 +0200 From: Jean Delvare To: linux-acpi@vger.kernel.org Cc: "Rafael J. Wysocki" , Len Brown Subject: [PATCH] ACPI / sleep: Make acpi_sleep_syscore_init static Message-ID: <20170731114013.75bc1b0a@endymion> Organization: SUSE Linux X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Function acpi_sleep_syscore_init has no external user so it should be static. Signed-off-by: Jean Delvare Cc: "Rafael J. Wysocki" Cc: Len Brown --- 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); }