Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1927745imw; Tue, 5 Jul 2022 18:53:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uXm2NdHyxfTnQGqlZp1i6/Fhh8KXhPDDAdHIqfrsr/i8BZ/EHXTx1HpulM0xRWVjpm+PH6 X-Received: by 2002:a17:906:58cf:b0:726:97db:4f6d with SMTP id e15-20020a17090658cf00b0072697db4f6dmr36775762ejs.261.1657072399086; Tue, 05 Jul 2022 18:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657072399; cv=none; d=google.com; s=arc-20160816; b=ts3rQRIO38EttLzs8WForT0dSP4RgMOwe65mjNF96+qwSd72roMW7H36Cs6JsSh5HR gY5p1H1FfGljSd0chHUG3TKcFKAKuwvnXrmEpN/6OXiQyEF9ccljAwHTW7bBLCrf2bTL jk0m+uw1rnKgqzVKzZytSAmIYAwQ8ldv9rPjo1EUQyizQ7WLfzOudBXm12mm4LBjBeXQ +wYo1ZO/QJi/Kfu1lnTqA+IMVj+f3V3JwVHZH1M8pt/HX7voVSpMYIg3fUzN7cIBnmV2 J/pypyF9R3HUpyFfGzQ+0A1EJKteKZPmd2fIoWrOOpOhAWpgpRrHLIgNNVZULVY9pooJ 7zag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=3JAse/pWBydiYzB3P0I/a7FBLwXDEpEjhW2ZEKcV6W8=; b=mCdAtQXaF1PjEUgk/KyF2Z54PR1nh0qx2JMQ+wZOg65tRiVI3rtm8uCrsn9YFe7SJ1 AebyOg2PI333gbVqvlbgfT0vJ9J0PO8LgVPXE/SkjnCpVlJetF7CJHV6HD1aU686rZax A+HlM8s5iBPcSUwo4CEuq95T3YCjwrLmAET/kQ4VvGcZo7pTOha1ehrKLC0AsYP8plJk WRxjH2v1AC6Dq3UTQAqKg3sGKCc8VE3SKSjgN+kpjv3QCapBT6uHb0wmh1UCZiVqLtlV z6voTWBwP5BCuU99dOiGbDukm23XG6EdhC6tnXdtxtTEuXg/yJhbWUcB8vlDd3gP50LX bjSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t35-20020a056402242300b00437e003f020si18675110eda.335.2022.07.05.18.52.54; Tue, 05 Jul 2022 18:53:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230160AbiGFBo0 (ORCPT + 99 others); Tue, 5 Jul 2022 21:44:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbiGFBo0 (ORCPT ); Tue, 5 Jul 2022 21:44:26 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 71AE9A471; Tue, 5 Jul 2022 18:44:25 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 878A61E80D92; Wed, 6 Jul 2022 09:42:14 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4SKAl-4QP284; Wed, 6 Jul 2022 09:42:12 +0800 (CST) Received: from node1.localdomain (unknown [219.141.250.2]) (Authenticated sender: zeming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id D01CE1E80D40; Wed, 6 Jul 2022 09:42:11 +0800 (CST) From: Li zeming To: rafael@kernel.org, lenb@kernel.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@nfschina.com, Li zeming Subject: [PATCH] acpi/sleep: Add header file macro definition Date: Wed, 6 Jul 2022 09:44:04 +0800 Message-Id: <20220706014404.3191-1-zeming@nfschina.com> X-Mailer: git-send-email 2.18.2 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add header file macro definition. Signed-off-by: Li zeming --- drivers/acpi/sleep.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/acpi/sleep.h b/drivers/acpi/sleep.h index 7fe41ee489d6..adb3b5c13f90 100644 --- a/drivers/acpi/sleep.h +++ b/drivers/acpi/sleep.h @@ -1,4 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _SLEEP_H +#define _SLEEP_H extern void acpi_enable_wakeup_devices(u8 sleep_state); extern void acpi_disable_wakeup_devices(u8 sleep_state); @@ -30,3 +32,5 @@ extern bool acpi_sleep_default_s3; #else #define acpi_sleep_default_s3 (1) #endif + +#endif -- 2.18.2