From patchwork Fri Mar 22 21:33:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 230264 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 0EBBD2C00C3 for ; Sat, 23 Mar 2013 08:34:46 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C61694A1BA; Fri, 22 Mar 2013 22:34:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vt2ThqL1gEwz; Fri, 22 Mar 2013 22:34:27 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 407F74A239; Fri, 22 Mar 2013 22:33:56 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 41BE84A142 for ; Fri, 22 Mar 2013 22:33:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JPeYIzBo7usk for ; Fri, 22 Mar 2013 22:33:39 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by theia.denx.de (Postfix) with ESMTPS id 0D40A4A0B9 for ; Fri, 22 Mar 2013 22:33:32 +0100 (CET) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id r2MLXVM0003422 for ; Fri, 22 Mar 2013 16:33:31 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2MLXVk4009007 for ; Fri, 22 Mar 2013 16:33:31 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Fri, 22 Mar 2013 16:33:30 -0500 Received: from localhost (kahuna.am.dhcp.ti.com [128.247.75.12]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2MLXUvx017942; Fri, 22 Mar 2013 16:33:30 -0500 From: Nishanth Menon To: tom Date: Fri, 22 Mar 2013 16:33:24 -0500 Message-ID: <1363988004-25819-10-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1363988004-25819-1-git-send-email-nm@ti.com> References: <1363988004-25819-1-git-send-email-nm@ti.com> MIME-Version: 1.0 Cc: u-boot , Ruchika Kharwar , Balaji T K Subject: [U-Boot] [PATCH V2 9/9] twl6035: add header guard X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Add an header guard to common header file to prevent multiple includes messing things up. Signed-off-by: Nishanth Menon --- include/twl6035.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/twl6035.h b/include/twl6035.h index edc2db5..d9131c1 100644 --- a/include/twl6035.h +++ b/include/twl6035.h @@ -21,6 +21,9 @@ * MA 02111-1307 USA */ +#ifndef TWL6035_H +#define TWL6035_H + #include #include @@ -49,3 +52,5 @@ static inline int twl6035_i2c_read_u8(u8 chip_no, u8 reg, u8 *val) void twl6035_init_settings(void); int twl6035_mmc1_poweron_ldo(void); + +#endif /* TWL6035_H */