From patchwork Thu Apr 21 22:04:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Ricard X-Patchwork-Id: 613327 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qrXqM0Ljtz9s9c for ; Fri, 22 Apr 2016 08:05:03 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1atMiZ-0000PP-JD; Thu, 21 Apr 2016 22:04:59 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1atMiX-0000PI-H8 for tpmdd-devel@lists.sourceforge.net; Thu, 21 Apr 2016 22:04:57 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.43 as permitted sender) client-ip=74.125.82.43; envelope-from=christophe.ricard@gmail.com; helo=mail-wm0-f43.google.com; Received: from mail-wm0-f43.google.com ([74.125.82.43]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1atMiV-0001bH-JD for tpmdd-devel@lists.sourceforge.net; Thu, 21 Apr 2016 22:04:57 +0000 Received: by mail-wm0-f43.google.com with SMTP id v188so261463962wme.1 for ; Thu, 21 Apr 2016 15:04:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bfCRbc+lHMNPRyGqk8lEoxPcP4TVEx5+hPErCYzHMJs=; b=EghPgwn//9/X+JKq5XPItkwU18zV8A2kc0ZvnADu2wa8ogGF6AN7tphN3bcqIt5Ybp 0SrS2X808uzC+8lPcPNR50fmyBb0S0VHXa5uu83jl2kRKxMeUNruhdio3ln5GcXtLT9S FkNUw6Wbx8+MJk+ztAuAcnhFcopgqzBR9WNZ0DdNr1hpUIQi80/ye7SVrsd07v4Mg+2n 3HG6bCzJvzK5RWT6LbLYL38WV9Rsi5PSFc/dVB+GzxhAjmHVihkieUzvrZN2/hOS6uDm iNUjYMJbtUJNnsCfOCo4DeGnGFFChs8HDzRXYExyH/+P6kXjKYdOvX0ybsTsvg3p6kqN XaAQ== X-Gm-Message-State: AOPr4FUP17ombjayc3t3hIwXZb7fB+gqLdAbEiUmeJhoPYvLhhkW5uLvHTbNQQh6CoyTZw== X-Received: by 10.28.93.85 with SMTP id r82mr244400wmb.77.1461276289647; Thu, 21 Apr 2016 15:04:49 -0700 (PDT) Received: from localhost.localdomain (ax113-6-78-236-204-66.fbx.proxad.net. [78.236.204.66]) by smtp.gmail.com with ESMTPSA id m14sm144521wmc.4.2016.04.21.15.04.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 15:04:48 -0700 (PDT) From: Christophe Ricard X-Google-Original-From: Christophe Ricard To: jarkko.sakkinen@linux.intel.com Date: Fri, 22 Apr 2016 00:04:36 +0200 Message-Id: <1461276283-2453-2-git-send-email-christophe-h.ricard@st.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1461276283-2453-1-git-send-email-christophe-h.ricard@st.com> References: <1461276283-2453-1-git-send-email-christophe-h.ricard@st.com> X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (christophe.ricard[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1atMiV-0001bH-JD Cc: jean-luc.blanc@st.com, ashley@ashleylai.com, tpmdd-devel@lists.sourceforge.net, christophe-h.ricard@st.com, Peter Huewe , benoit.houyere@st.com Subject: [tpmdd-devel] [PATCH v5 1/8] tpm: Add include guards in tpm.h X-BeenThere: tpmdd-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Tpm Device Driver maintainance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: tpmdd-devel-bounces@lists.sourceforge.net Add missing include guards in tpm.h Signed-off-by: Peter Huewe Signed-off-by: Christophe Ricard Reviewed-by: Jarkko Sakkinen --- drivers/char/tpm/tpm.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 8bc6fb8..50bf380 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h @@ -19,6 +19,10 @@ * License. * */ + +#ifndef __TPM_H__ +#define __TPM_H__ + #include #include #include @@ -527,3 +531,4 @@ extern unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *, u32); extern int tpm2_do_selftest(struct tpm_chip *chip); extern int tpm2_gen_interrupt(struct tpm_chip *chip); extern int tpm2_probe(struct tpm_chip *chip); +#endif