Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2350885imw; Wed, 6 Jul 2022 04:38:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vQQ+LlTRY0fLtvkMDS09ULZx1bDn4967mE7nYIBdwuHQH9YYxX23SaIeNPpMcAkiB5GMMq X-Received: by 2002:a17:907:2bef:b0:72a:75e0:df98 with SMTP id gv47-20020a1709072bef00b0072a75e0df98mr30862893ejc.105.1657107486045; Wed, 06 Jul 2022 04:38:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657107486; cv=none; d=google.com; s=arc-20160816; b=lap4nfJRu1onQmzefjCaPLUJuBxJmw+s2CwOtTAOVj4+QOdzXGfHr6Aq8wTWJKxiHM 9h3+WlMpGQGhgrCNykOYkr6tZNWiqrlyCRc7rCS2joRMdW8NX5SYAks/IMZUEGHARZvd 1RoA486uDYNna15+xDyUTRFjgxmcKP80xMsKaIc5SjFu+PSDL9W2URFFlpGWBlvWj0NN C6dHBhQNGWat0iJXI2atC5RGPPshFnBHaMJCPFuKew41N+29eo/z7d/mcxA+GYoOumWz 4kJGID0RXpFzy0zNzXH4kRPyXjHla2nl1PeDiz5qYApLyquUTbRbpLtbxQc591X44eRG LYKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=mJiCBm5AZZZBSWt/5+TIdRYYpF8q38DKwzi2NL8dpyY=; b=UymXIcWGOYz1hBtnLkvzCth4aCzrWq2KkykxpHw2UlQlh69ciBoSP5bGsUK5AsGY5H cMpXxtseuYfUn5j0obO8TtUDu56Dsqy3iJLidQh7WypEDvEnMeVZYkBzAApXDfcezw3G PL2QGubiP0jwaPKV5Srgvi15O/vjioGOBA23IE6SoXecEV41AUTlPUOnyPuNX7LMv0GD +WdH8voopZMwbJL/2hkrSVtvVb/TowlTLZGVpdHlhngFOKd5FlTl20yMFdWFLEH1QPxL 6yRxBpejcVPMip/4RoP7JU6GSpfP8zT4T/PgmFZ4fs5ysQPEdcBxSwZ04dS3DEm+CH+r rPAQ== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sh11-20020a1709076e8b00b0072aa141095asi8693862ejc.0.2022.07.06.04.37.40; Wed, 06 Jul 2022 04:38:06 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232102AbiGFKbv (ORCPT + 99 others); Wed, 6 Jul 2022 06:31:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230471AbiGFKbt (ORCPT ); Wed, 6 Jul 2022 06:31:49 -0400 Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A04526AC7; Wed, 6 Jul 2022 03:31:49 -0700 (PDT) Received: by mail-yb1-f182.google.com with SMTP id i7so26574418ybe.11; Wed, 06 Jul 2022 03:31:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mJiCBm5AZZZBSWt/5+TIdRYYpF8q38DKwzi2NL8dpyY=; b=bD6j4I87nNVFN8+FSHnbZUBdKb45m3CXgLhxBgRfZXqiz6T4l35SK3sNhCEQp1Ng2V BmwE/YGms76PF+KlveyeaHAxpz1F8Oh1k6wmLdmWHU38FrCwuBY9YhVE4EmnaBuAIjUr 4gPO77sTNl/dKl+65/mrd093OzCl8cAK6FoxYoFnp5gy28HqnkA4LXVDNVYI1bCzWvp6 GMROpAux2R5FeGwlk0qaVGF1ULrRBHm/yUs201NFAYQgrUUmla7d8SFfacaKSVta2P1I d/A4XKHlzzaEi3M69UfME+XFrDWTHXxNtA5Yyai297sLihMYRoRLEBlHySAIMjgK/yel FuXA== X-Gm-Message-State: AJIora9uYwJLnZoAVmYJyqsB9MyN8ZMTx9h3maV8XVh/4jlzaRL+2oz7 cTdy01P0f54B6s91ctDmo/5mVfL9rBdaaW6zBNnQ1IFx X-Received: by 2002:a25:ab81:0:b0:66e:3dc5:898c with SMTP id v1-20020a25ab81000000b0066e3dc5898cmr18651711ybi.81.1657103508554; Wed, 06 Jul 2022 03:31:48 -0700 (PDT) MIME-Version: 1.0 References: <20220706013222.5323-1-zeming@nfschina.com> In-Reply-To: <20220706013222.5323-1-zeming@nfschina.com> From: "Rafael J. Wysocki" Date: Wed, 6 Jul 2022 12:31:36 +0200 Message-ID: Subject: Re: [PATCH] acpi/sbshc: Add header file macro definition To: Li zeming Cc: "Rafael J. Wysocki" , Len Brown , ACPI Devel Maling List , Linux Kernel Mailing List , kernel@nfschina.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, 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 On Wed, Jul 6, 2022 at 3:34 AM Li zeming wrote: > > Add header file macro definition. Please explain why you want to make this change. > 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 >