Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1933941imw; Tue, 5 Jul 2022 19:02:29 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sfHMwJbCFDwzHdWIJxAHsFtciuUptFBxlamiqWVuZWMisw1FZ+pzq4d1wIx03AnaiAC2PQ X-Received: by 2002:a17:90b:3b92:b0:1ef:9234:399b with SMTP id pc18-20020a17090b3b9200b001ef9234399bmr10865672pjb.176.1657072949278; Tue, 05 Jul 2022 19:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657072949; cv=none; d=google.com; s=arc-20160816; b=OvmyFBCtvbLW40uowNNf88tJFzgUECRAZJrmmwlFwnEbK81KCuF8gtmyit+mwCWpqx vo6T891Qhvs41V6jkDU1Gc+CKOwcqYKtS0XAZ9B6S1aConpdOrrH2Bi157dCUURLKmF7 SvQTHPxXyUpLpCjav91pYhUQMieOY0ykdwm6/k+t553So9k3hl92FFwYcHRsL67lV4FN a24DrtU7FgEDVdqZShBVmXxq9kVQjCLvhzvsrpg4LxI3vVLqNUIf1swYnPc1wrlIAWt+ xnotdusYv4JM5VDw4mkB4gvbVxQ/Qeehwp0MKQGLTfIBtwpnBFil/K0XEGuUi1CkVf94 Jgrg== 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=TR23gtF9Hqu69vM7cX5TGWJsOKWBiBZK6+pD3N+D2jE=; b=EIZv3f1376vI1wufOrv5BwhvhEpV39xiRE7IoVxo39LUxNg1hbj+gYE0KgK0dXJidV 5ImkwwOeEX3HCqlotqu9amG9ujTL7AX2AW8VXSUrQi1KHA9HXOUaZmsztgajWsGV9R/Y PQwmv1YEMSYtAIGDWgGvVPajdR/lX3xHEFrBVjUmayKE3miFeXZhCb9UklzUl1QzAk8U z/YuG8/iaOFM38lrJ5wtzGXvdcoQ0R+pD9Zw19+oDomzXKw/XiTctE0lgIqpZuJZf+UC XnpATsWzNSFcEFg4ad44uPlm6P5FXyeyOC9NXZdVWnXXsVl4p+j54Wob6jXRDIIIVCRw nUUA== 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 19-20020a630e53000000b0040cf84ef4f5si100612pgo.583.2022.07.05.19.02.16; Tue, 05 Jul 2022 19:02:29 -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 S230112AbiGFBe3 (ORCPT + 99 others); Tue, 5 Jul 2022 21:34:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230060AbiGFBe3 (ORCPT ); Tue, 5 Jul 2022 21:34:29 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0BCD0101D8; Tue, 5 Jul 2022 18:34:28 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 36C5F1E80D40; Wed, 6 Jul 2022 09:32:17 +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 1880IgI1VR-9; Wed, 6 Jul 2022 09:32:14 +0800 (CST) Received: from node1.localdomain (unknown [219.141.250.2]) (Authenticated sender: zeming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id 8789F1E80CDE; Wed, 6 Jul 2022 09:32:14 +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/sbshc: Add header file macro definition Date: Wed, 6 Jul 2022 09:32:22 +0800 Message-Id: <20220706013222.5323-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/sbshc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/acpi/sbshc.h b/drivers/acpi/sbshc.h index 695c390e2884..22b11a1655d2 100644 --- a/drivers/acpi/sbshc.h +++ b/drivers/acpi/sbshc.h @@ -1,4 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _SBSHC_H +#define _SBSHC_H + struct acpi_smb_hc; enum acpi_smb_protocol { SMBUS_WRITE_QUICK = 2, @@ -30,3 +33,4 @@ extern int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 slave_addres extern int acpi_smbus_register_callback(struct acpi_smb_hc *hc, smbus_alarm_callback callback, void *context); extern int acpi_smbus_unregister_callback(struct acpi_smb_hc *hc); +#endif -- 2.18.2