From patchwork Sun Apr 10 21:23:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Ricard X-Patchwork-Id: 8795321 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 090CEC0554 for ; Sun, 10 Apr 2016 21:23:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 178E320222 for ; Sun, 10 Apr 2016 21:23:37 +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 D472C20221 for ; Sun, 10 Apr 2016 21:23:35 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1apMpS-0003an-PK; Sun, 10 Apr 2016 21:23:34 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1apMpR-0003aR-5R for tpmdd-devel@lists.sourceforge.net; Sun, 10 Apr 2016 21:23:33 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.42 as permitted sender) client-ip=74.125.82.42; envelope-from=christophe.ricard@gmail.com; helo=mail-wm0-f42.google.com; Received: from mail-wm0-f42.google.com ([74.125.82.42]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1apMpQ-000544-Di for tpmdd-devel@lists.sourceforge.net; Sun, 10 Apr 2016 21:23:33 +0000 Received: by mail-wm0-f42.google.com with SMTP id f198so122463050wme.0 for ; Sun, 10 Apr 2016 14:23:32 -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=+V9JUGmeUPl+mhRc2O1ksjGcS4UvhWmstZdwPN/Zd8A=; b=SCyWhy5kwBv8DET8L6EO7p53WX9ewzRcTpZt2ZXlqdq14xnVugJtVQfPgwYs57j6C1 FBWcLORcGMLkgjB8+zANqu5O5pPLd9fuSA5SJpq6V5sF1jb7qe8yUoQ5GmRNW99Pl0jv 2hMZBrpn4UDg985q4eMopKuWSTWW7xVN8NNJa9UEH/n5ZY9HJhvjCqG2795y5QYG3Gbn uo2RWHAzwoMCcY7qxLiI15caR44ekZEcnlU0+AmtshQXqzuuJ6sBDIeqDK9L+QG2dYT9 ZUVZu7N6aBM/9pu3W+8O35ZDaVb1CDDB1ErCSi3D7zWriJF6X4VjapeUuGMCfK0vWr1k cV+w== X-Gm-Message-State: AD7BkJLwUteewptHHmkgTw2jidP3yFK0uDl3RfdABqHKQEaNwhZIDIsicpbw72EhuSuxrQ== X-Received: by 10.194.111.229 with SMTP id il5mr22407604wjb.82.1460323406439; Sun, 10 Apr 2016 14:23:26 -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 kj9sm24537597wjb.14.2016.04.10.14.23.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 10 Apr 2016 14:23:25 -0700 (PDT) From: Christophe Ricard X-Google-Original-From: Christophe Ricard To: jarkko.sakkinen@linux.intel.com Date: Sun, 10 Apr 2016 23:23:02 +0200 Message-Id: <1460323386-16892-7-git-send-email-christophe-h.ricard@st.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1460323386-16892-1-git-send-email-christophe-h.ricard@st.com> References: <1460323386-16892-1-git-send-email-christophe-h.ricard@st.com> X-Spam-Score: -1.6 (-) X-Headers-End: 1apMpQ-000544-Di 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 06/10] 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=-7.9 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 --- 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 68ce900..87267cf 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 @@ -588,3 +592,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