From patchwork Tue Jan 24 23:56:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 6386 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 3F56723E81 for ; Tue, 24 Jan 2012 23:56:14 +0000 (UTC) Received: from mail-bk0-f52.google.com (mail-bk0-f52.google.com [209.85.214.52]) by fiordland.canonical.com (Postfix) with ESMTP id 2EDADA184A7 for ; Tue, 24 Jan 2012 23:56:14 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id r19so4746697bka.11 for ; Tue, 24 Jan 2012 15:56:14 -0800 (PST) Received: by 10.204.200.197 with SMTP id ex5mr5842761bkb.128.1327449374032; Tue, 24 Jan 2012 15:56:14 -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.204.130.220 with SMTP id u28cs118202bks; Tue, 24 Jan 2012 15:56:13 -0800 (PST) Received: by 10.180.81.35 with SMTP id w3mr24370387wix.10.1327449372703; Tue, 24 Jan 2012 15:56:12 -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 h2si13834671wed.9.2012.01.24.15.56.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Jan 2012 15:56:12 -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 werf1 with SMTP id f1so4510013wer.37 for ; Tue, 24 Jan 2012 15:56:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.136.194 with SMTP id w44mr6228291wei.46.1327449372540; Tue, 24 Jan 2012 15:56:12 -0800 (PST) Received: from localhost.localdomain (AToulouse-159-1-6-230.w90-60.abo.wanadoo.fr. [90.60.241.230]) by mx.google.com with ESMTPS id em13sm21411324wid.7.2012.01.24.15.56.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Jan 2012 15:56:11 -0800 (PST) From: Daniel Lezcano To: linux@maxim.org.za, nicolas.ferre@atmel.com, plagnioj@jcrosoft.com Cc: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/4] at91 : declare header name Date: Wed, 25 Jan 2012 00:56:06 +0100 Message-Id: <1327449368-29917-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1327449368-29917-1-git-send-email-daniel.lezcano@linaro.org> References: <1327449368-29917-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQlYTl45MTHJ4IhkYK/B5rcF+qxCVi2vx3w54t/5LUjT4HTx1MAHPDmesiUi1euzSXS2QHKt Add the header and define the macro to prevent multiple inclusion like the others headers. Signed-off-by: Daniel Lezcano Signed-off-by: Nicolas Ferre --- 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