From patchwork Tue Jul 17 11:07:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10046 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 9542623E23 for ; Tue, 17 Jul 2012 11:08:17 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 5DB75A1865F for ; Tue, 17 Jul 2012 11:08:17 +0000 (UTC) Received: by yenq6 with SMTP id q6so231675yen.11 for ; Tue, 17 Jul 2012 04:08:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=8pNWkWtHHtVFFpBeSoXqi8H5Gcc9JdCAI9thehi5g5k=; b=koiYIYpK5wMWEHXFmMy69OYTEcpfcvAe26VQcCCETKY4juIKh+by/WRpyuvKsd7tqu NxmLUZ13ENp/JqTWsDZWA6brX6coVFz6z8/RLqAwCLIW81SQdMCgpV02eqAjFGTZ5Kxn 5l2qjpOyK/OolqRU04Y23wa9n5PcG18GDdj/i+Fqc2paJ22XP7cq4EGpOkoSL+5nOKkV BHiqXiq5ck2b2NKssu5EvGFEvYnqsqln8vUT9/N/Ar6zIyW0xM4pgpNNcgYeEtdL2H/t okqMwFFQ7mI937Hs2SMS+IEMmmnqwngouvIxwbv7S/+2Mcxo2N3gm6H8B1C0KYT/cFQG OZkw== Received: by 10.50.193.196 with SMTP id hq4mr875321igc.57.1342523296576; Tue, 17 Jul 2012 04:08:16 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.241.2 with SMTP id lc2csp18005ibb; Tue, 17 Jul 2012 04:08:16 -0700 (PDT) Received: by 10.68.213.234 with SMTP id nv10mr5568624pbc.56.1342523295825; Tue, 17 Jul 2012 04:08:15 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id ok4si25446644pbb.256.2012.07.17.04.08.15 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Jul 2012 04:08:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbbrr4 with SMTP id rr4so794074pbb.37 for ; Tue, 17 Jul 2012 04:08:15 -0700 (PDT) Received: by 10.68.221.227 with SMTP id qh3mr5452680pbc.115.1342523295433; Tue, 17 Jul 2012 04:08:15 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id nh8sm13852565pbc.60.2012.07.17.04.08.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Jul 2012 04:08:14 -0700 (PDT) From: Sachin Kamat To: linux-usb@vger.kernel.org Cc: l.majewski@samsung.com, balbi@ti.com, gregkh@linuxfoundation.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH Resend] usb: s3c-hsotg: Add header file protection macros in s3c-hsotg.h Date: Tue, 17 Jul 2012 16:37:45 +0530 Message-Id: <1342523265-20322-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQk0ssxIu8MlEdkQTDtBolx9M+UVGMug+0CUHfahnJfES264pClkh0AADABXOmFdiy/Vikkr Adds header file protection macros to avoid multiple inclusion. Signed-off-by: Sachin Kamat --- include/linux/platform_data/s3c-hsotg.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/linux/platform_data/s3c-hsotg.h b/include/linux/platform_data/s3c-hsotg.h index 97ec12c..8b79e09 100644 --- a/include/linux/platform_data/s3c-hsotg.h +++ b/include/linux/platform_data/s3c-hsotg.h @@ -12,6 +12,9 @@ * published by the Free Software Foundation. */ +#ifndef __LINUX_USB_S3C_HSOTG_H +#define __LINUX_USB_S3C_HSOTG_H + enum s3c_hsotg_dmamode { S3C_HSOTG_DMA_NONE, /* do not use DMA at-all */ S3C_HSOTG_DMA_ONLY, /* always use DMA */ @@ -33,3 +36,5 @@ struct s3c_hsotg_plat { }; extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd); + +#endif /* __LINUX_USB_S3C_HSOTG_H */