From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp6-g21.free.fr ([2a01:e0c:1:1599::15]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1RTPaq-0007ko-HM for barebox@lists.infradead.org; Thu, 24 Nov 2011 03:03:21 +0000 From: Robert Jarzmik Date: Thu, 24 Nov 2011 04:02:41 +0100 Message-Id: <1322103764-6265-7-git-send-email-robert.jarzmik@free.fr> In-Reply-To: <1322103764-6265-1-git-send-email-robert.jarzmik@free.fr> References: <1322103764-6265-1-git-send-email-robert.jarzmik@free.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 6/9] drivers: pxafb: add include ifdefery To: barebox@lists.infradead.org Cc: Robert Jarzmik From: Robert Jarzmik Add protection against multiple includes of pxafb.h Signed-off-by: Robert Jarzmik --- arch/arm/mach-pxa/include/mach/pxafb.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-pxa/include/mach/pxafb.h b/arch/arm/mach-pxa/include/mach/pxafb.h index a652647..1730fbf 100644 --- a/arch/arm/mach-pxa/include/mach/pxafb.h +++ b/arch/arm/mach-pxa/include/mach/pxafb.h @@ -1,6 +1,8 @@ /* * This structure describes the machine which we are running on. */ +#ifndef _PXAFB_ +#define _PXAFB_ #include @@ -75,3 +77,4 @@ struct pxafb_platform_data { * @file * @brief PXA related framebuffer declarations */ +#endif -- 1.7.5.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox