From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp24.mail.ru ([94.100.176.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SF018-0005G6-Ce for barebox@lists.infradead.org; Tue, 03 Apr 2012 09:27:11 +0000 From: Alexander Shiyan Date: Tue, 3 Apr 2012 13:27:00 +0400 Message-Id: <1333445220-14654-1-git-send-email-shc_work@mail.ru> 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] Define barebox_loc magic variable only once To: barebox@lists.infradead.org Signed-off-by: Alexander Shiyan --- arch/arm/mach-imx/boot.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/boot.c b/arch/arm/mach-imx/boot.c index 9f2def6..b79ebc7 100644 --- a/arch/arm/mach-imx/boot.c +++ b/arch/arm/mach-imx/boot.c @@ -87,8 +87,6 @@ static int imx_25_35_boot_save_loc(void) return 0; } coredevice_initcall(imx_25_35_boot_save_loc); - -BAREBOX_MAGICVAR(barebox_loc, "The source barebox has been booted from"); #endif #if defined(CONFIG_ARCH_IMX27) @@ -114,6 +112,6 @@ static int imx_27_boot_save_loc(void) return 0; } coredevice_initcall(imx_27_boot_save_loc); +#endif BAREBOX_MAGICVAR(barebox_loc, "The source barebox has been booted from"); -#endif -- 1.7.3.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox