From patchwork Wed May 4 19:06:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Ricard X-Patchwork-Id: 9017511 Return-Path: X-Original-To: patchwork-tpmdd-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 637DDBF29F for ; Wed, 4 May 2016 19:06:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9A04F203C0 for ; Wed, 4 May 2016 19:06:50 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 89ADE203C3 for ; Wed, 4 May 2016 19:06:49 +0000 (UTC) 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 1ay28F-0005wn-8u; Wed, 04 May 2016 19:06:47 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ay28E-0005wi-6j for tpmdd-devel@lists.sourceforge.net; Wed, 04 May 2016 19:06:46 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.67 as permitted sender) client-ip=74.125.82.67; envelope-from=christophe.ricard@gmail.com; helo=mail-wm0-f67.google.com; Received: from mail-wm0-f67.google.com ([74.125.82.67]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1ay289-0001ll-Kt for tpmdd-devel@lists.sourceforge.net; Wed, 04 May 2016 19:06:46 +0000 Received: by mail-wm0-f67.google.com with SMTP id e201so12483269wme.2 for ; Wed, 04 May 2016 12:06:41 -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=xxCb5+T3WCwqr77ml+LoXmdEWqRstNbdNRJXdInntks=; b=KkFNspzEzIv500N1nJORLrY5YHWqPbTFOg6ZgjJKNC6NBjxnFXZrDB6dGYOLmB24Yq 0e/kWme9nREoBIMcvDVxc7zsLAuR4o4aEIt4Ptoq63jTYSKLd7TH2EiCUce+ONFuLyMQ gu8X+fTIdAgG3IqLJ8AN6cpuU11FBkyQOQCci3CzRPrlMVeZUIPqreXYNS22chsqjf0D RO/hyjYNtxm43bEbCvwygw4t9P8uHaexQ9JmK+cxUoB61HoPBU/h7wRh2Vm1OMohrV0Z tYoEJOylx4qU464pgmRsItKPFteoU2S54FnlVmzVAspgSmlH2rDcFud8Wch3zio140sB LGYw== X-Gm-Message-State: AOPr4FXOZV0dPrUyOj7m3tmKWd7KBcjJT961E2knG3LwGE4TujRWvFacn76JSYMuksXlOA== X-Received: by 10.28.169.11 with SMTP id s11mr33875147wme.62.1462388795708; Wed, 04 May 2016 12:06:35 -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 131sm5823903wmu.17.2016.05.04.12.06.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 May 2016 12:06:34 -0700 (PDT) From: Christophe Ricard X-Google-Original-From: Christophe Ricard To: jarkko.sakkinen@linux.intel.com Date: Wed, 4 May 2016 21:06:22 +0200 Message-Id: <1462388788-2410-2-git-send-email-christophe-h.ricard@st.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1462388788-2410-1-git-send-email-christophe-h.ricard@st.com> References: <1462388788-2410-1-git-send-email-christophe-h.ricard@st.com> X-Spam-Score: -1.6 (-) X-Headers-End: 1ay289-0001ll-Kt 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 v7 1/7] 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 X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,HK_RANDOM_ENVFROM,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 ff4e53c..8890df2 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 @@ -528,3 +532,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