From patchwork Tue Aug 24 17:14:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "C.A, Subramaniam" X-Patchwork-Id: 127371 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o7OHEkgT012902 for ; Tue, 24 Aug 2010 17:14:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754406Ab0HXROp (ORCPT ); Tue, 24 Aug 2010 13:14:45 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:47569 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751928Ab0HXROo convert rfc822-to-8bit (ORCPT ); Tue, 24 Aug 2010 13:14:44 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id o7OHEXF0022415 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 24 Aug 2010 12:14:35 -0500 Received: from dbde71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id o7OHEWE7007551; Tue, 24 Aug 2010 22:44:32 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde71.ent.ti.com ([172.24.170.149]) with mapi; Tue, 24 Aug 2010 22:44:32 +0530 From: "C.A, Subramaniam" To: "linux-omap@vger.kernel.org" CC: "Gadiyar, Anand" , "tony@atomide.com" Date: Tue, 24 Aug 2010 22:44:30 +0530 Subject: [PATCH]omap: i2c: Avoid compilation error in case the header is included multiple times Thread-Topic: [PATCH]omap: i2c: Avoid compilation error in case the header is included multiple times Thread-Index: ActDr9CJXck+xtL1S62h1UgbLSRnGg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 24 Aug 2010 17:14:46 +0000 (UTC) diff --git a/arch/arm/plat-omap/include/plat/i2c.h b/arch/arm/plat-omap/include/plat/i2c.h index 9e085f1..5d67273 100644 --- a/arch/arm/plat-omap/include/plat/i2c.h +++ b/arch/arm/plat-omap/include/plat/i2c.h @@ -18,6 +18,8 @@ * 02110-1301 USA * */ +#ifndef __ASM__ARCH_OMAP_I2C_H +#define __ASM__ARCH_OMAP_I2C_H #include @@ -57,3 +59,5 @@ struct omap_i2c_dev_attr { void __init omap1_i2c_mux_pins(int bus_id); void __init omap2_i2c_mux_pins(int bus_id); + +#endif /* __ASM__ARCH_OMAP_I2C_H */