From patchwork Wed Jan 11 14:55:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 6155 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 C4CDD23E0E for ; Wed, 11 Jan 2012 14:55:50 +0000 (UTC) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by fiordland.canonical.com (Postfix) with ESMTP id BB9ABA1853C for ; Wed, 11 Jan 2012 14:55:50 +0000 (UTC) Received: by mail-ey0-f180.google.com with SMTP id e12so239857eaa.11 for ; Wed, 11 Jan 2012 06:55:50 -0800 (PST) Received: by 10.204.149.130 with SMTP id t2mr5549465bkv.9.1326293750574; Wed, 11 Jan 2012 06:55:50 -0800 (PST) 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.205.82.144 with SMTP id ac16cs110606bkc; Wed, 11 Jan 2012 06:55:50 -0800 (PST) Received: by 10.216.209.99 with SMTP id r77mr11287192weo.25.1326293749232; Wed, 11 Jan 2012 06:55:49 -0800 (PST) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id u47si787647weq.26.2012.01.11.06.55.48 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Jan 2012 06:55:49 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: by werp12 with SMTP id p12so799825wer.37 for ; Wed, 11 Jan 2012 06:55:48 -0800 (PST) Received: by 10.216.138.201 with SMTP id a51mr13755102wej.24.1326293748287; Wed, 11 Jan 2012 06:55:48 -0800 (PST) Received: from localhost.localdomain (AToulouse-159-1-69-110.w92-134.abo.wanadoo.fr. [92.134.92.110]) by mx.google.com with ESMTPS id a6sm4608647wiy.6.2012.01.11.06.55.46 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Jan 2012 06:55:47 -0800 (PST) From: Daniel Lezcano To: linux@arm.linux.org.uk Cc: robherring2@gmail.com, khilman@ti.com, len.brown@intel.com, linux-pm@vger.kernel.org, magnus.damm@gmail.com, s.hauer@pengutronix.de, nicolas.ferre@atmel.com, nsekhar@ti.com, linux@maxim.org.za, arnd.bergmann@linaro.org, rob.lee@linaro.org, shawn.guo@freescale.com, linux-arm-kernel@lists.infradead.org, amit.kucheria@linaro.org Subject: [PATCH 2/7] at91 : declare header name Date: Wed, 11 Jan 2012 15:55:35 +0100 Message-Id: <1326293740-15735-3-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1326293740-15735-1-git-send-email-daniel.lezcano@linaro.org> References: <1326293740-15735-1-git-send-email-daniel.lezcano@linaro.org> Add the header and define the macro to prevent multiple inclusion like the others headers. Signed-off-by: Daniel Lezcano --- arch/arm/mach-at91/pm.h | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-at91/pm.h b/arch/arm/mach-at91/pm.h index 92d2223..325ef76 100644 --- a/arch/arm/mach-at91/pm.h +++ b/arch/arm/mach-at91/pm.h @@ -1,3 +1,16 @@ +/* + * AT91 Power Management + * + * Copyright (C) 2005 David Brownell + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ +#ifndef __ARCH_ARM_MACH_AT91_PM +#define __ARCH_ARM_MACH_AT91_PM + #ifdef CONFIG_ARCH_AT91RM9200 #include @@ -116,3 +129,5 @@ static inline u32 sdram_selfrefresh_enable(void) cpu_do_idle() #endif + +#endif