From patchwork Mon Sep 3 12:29:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 1399651 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 92A273FC71 for ; Mon, 3 Sep 2012 12:32:32 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T8Vmj-0001EH-LI; Mon, 03 Sep 2012 12:29:45 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T8Vmf-0001D8-HH for linux-arm-kernel@lists.infradead.org; Mon, 03 Sep 2012 12:29:43 +0000 Received: by pbbrq8 with SMTP id rq8so8449911pbb.36 for ; Mon, 03 Sep 2012 05:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:content-type:x-mailer :content-transfer-encoding:mime-version; bh=3VJ5FRdznVduoFUyraiGsuOW1+HvKQoXJMET3gthcQI=; b=RRRFf9lz52dKu716qkGvcY4Dx+6lEmx8P8I5rB/ltpMQWJwvjxzpJK2wRfZVJ0lk3d Ldf/GQdfJVZTs5pMc9sLDswIOsBx8xRjQY3K0rHftzeBsNyhvNOTFCEr7TJwo8SNMOmn jY+QgrwGe0MH3RG63z2OLo4wBCB5VMmrBEyqHPGlx6awIkIC32Iq5/1uTCjhkhFtItu7 OFbN2DKYSKcB/BOhpsquWhoY8cBgs4e/AWNkeXKE7nPgv07jhsAtWER3lOiKUoeWw1Iy P9OVU5GfOeNuEuLspTvTucf6KKahpPvTNvbsUBk8SnOHMcLEE11Xh746ai1cBrdLaAct h2lQ== Received: by 10.66.74.195 with SMTP id w3mr33647680pav.64.1346675379623; Mon, 03 Sep 2012 05:29:39 -0700 (PDT) Received: from [114.39.111.102] (114-39-111-102.dynamic.hinet.net. [114.39.111.102]) by mx.google.com with ESMTPS id rm9sm9835668pbc.72.2012.09.03.05.29.36 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Sep 2012 05:29:38 -0700 (PDT) Message-ID: <1346675368.15950.0.camel@phoenix> Subject: [PATCH] ARM: ep93xx: Fix build error due to 'SZ_32M' undeclared From: Axel Lin To: Hartley Sweeten , Ryan Mallon Date: Mon, 03 Sep 2012 20:29:28 +0800 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (axel.lin[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.49 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Russell King , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Include linux/sizes.h to fix below build errors: CC arch/arm/mach-ep93xx/adssphere.o arch/arm/mach-ep93xx/adssphere.c: In function 'adssphere_init_machine': arch/arm/mach-ep93xx/adssphere.c:32:49: error: 'SZ_32M' undeclared (first use in this function) arch/arm/mach-ep93xx/adssphere.c:32:49: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [arch/arm/mach-ep93xx/adssphere.o] Error 1 make: *** [arch/arm/mach-ep93xx] Error 2 CC arch/arm/mach-ep93xx/gesbc9312.o arch/arm/mach-ep93xx/gesbc9312.c: In function 'gesbc9312_init_machine': arch/arm/mach-ep93xx/gesbc9312.c:32:49: error: 'SZ_8M' undeclared (first use in this function) arch/arm/mach-ep93xx/gesbc9312.c:32:49: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [arch/arm/mach-ep93xx/gesbc9312.o] Error 1 make: *** [arch/arm/mach-ep93xx] Error 2 Signed-off-by: Axel Lin --- This patch is against linux-next tree. Axel arch/arm/mach-ep93xx/adssphere.c | 1 + arch/arm/mach-ep93xx/gesbc9312.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/mach-ep93xx/adssphere.c b/arch/arm/mach-ep93xx/adssphere.c index a472777..41383bf 100644 --- a/arch/arm/mach-ep93xx/adssphere.c +++ b/arch/arm/mach-ep93xx/adssphere.c @@ -13,6 +13,7 @@ #include #include #include +#include #include diff --git a/arch/arm/mach-ep93xx/gesbc9312.c b/arch/arm/mach-ep93xx/gesbc9312.c index 437c341..7fd705b 100644 --- a/arch/arm/mach-ep93xx/gesbc9312.c +++ b/arch/arm/mach-ep93xx/gesbc9312.c @@ -13,6 +13,7 @@ #include #include #include +#include #include