From patchwork Sun Mar 20 19:34:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Ricard X-Patchwork-Id: 8628591 Return-Path: X-Original-To: patchwork-tpmdd-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BEA119F3D1 for ; Sun, 20 Mar 2016 19:35:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9BEA20212 for ; Sun, 20 Mar 2016 19:35:04 +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 CEBDB201FE for ; Sun, 20 Mar 2016 19:35:03 +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 1ahj7t-00061U-5C; Sun, 20 Mar 2016 19:35:01 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ahj7s-00061C-JM for tpmdd-devel@lists.sourceforge.net; Sun, 20 Mar 2016 19:35:00 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.53 as permitted sender) client-ip=74.125.82.53; envelope-from=christophe.ricard@gmail.com; helo=mail-wm0-f53.google.com; Received: from mail-wm0-f53.google.com ([74.125.82.53]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1ahj7r-0007KR-Oy for tpmdd-devel@lists.sourceforge.net; Sun, 20 Mar 2016 19:35:00 +0000 Received: by mail-wm0-f53.google.com with SMTP id l68so129121516wml.0 for ; Sun, 20 Mar 2016 12:34:59 -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=dHNLs3czjhlNUw/Y3+3iSYzDk5e8yLg2i0QLR5K2Q90=; b=GybBeOLkSZe1HG2F6pIylpUXcFfa1G+QVzccDdSLIiA/K4dGYSUE7Y6ZADJxAObx6h qAmSjVU163wxhcwBl/eSuA8aX6ElazAE5BBdk1NogyYpQN0KvidrFfXGeoNFb6ZGw+6S Y9XJC6agKvipXQn3RsnI0uVJ5QyOZlin6O1Pl82NEbFhWXsFzcO2f7VoiEhL59nmEg/N ljJpyR+9vSVg8SDgL5HZd382duozrIk6CNL1VxSoclYOPigTAOVEmqHOuMASh9X2x5N7 9B4gZs4Bg8tIFNK5Qb6ohhx/wUbUe/ZBpbHmPJV363siv6KHmTbGwbYea6Rm8I1eyVIV ZCtw== X-Gm-Message-State: AD7BkJIawFZ0fUwvRmRAYUuwj9n5W06yvy6hW2w+lZDga5f9kzWZZpFZp8cHRfai/q6Y4w== X-Received: by 10.28.46.132 with SMTP id u126mr10471180wmu.67.1458502493803; Sun, 20 Mar 2016 12:34:53 -0700 (PDT) Received: from localhost.localdomain (AMarseille-654-1-498-218.w86-210.abo.wanadoo.fr. [86.210.138.218]) by smtp.gmail.com with ESMTPSA id w203sm7560646wmg.14.2016.03.20.12.34.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 20 Mar 2016 12:34:52 -0700 (PDT) From: Christophe Ricard X-Google-Original-From: Christophe Ricard To: jarkko.sakkinen@linux.intel.com Date: Sun, 20 Mar 2016 20:34:34 +0100 Message-Id: <1458502483-16887-4-git-send-email-christophe-h.ricard@st.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1458502483-16887-1-git-send-email-christophe-h.ricard@st.com> References: <1458502483-16887-1-git-send-email-christophe-h.ricard@st.com> X-Spam-Score: -1.6 (-) X-Headers-End: 1ahj7r-0007KR-Oy 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 03/12] 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=-6.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 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 928b47f..28a0c17 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 @@ -548,3 +552,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