From patchwork Fri Mar 30 06:24:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 149543 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 82BD6B6F98 for ; Fri, 30 Mar 2012 17:26:55 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SDVGd-0002rC-Cb; Fri, 30 Mar 2012 06:24:59 +0000 Received: from mail-iy0-f177.google.com ([209.85.210.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SDVGa-0002qn-Dr for linux-arm-kernel@lists.infradead.org; Fri, 30 Mar 2012 06:24:56 +0000 Received: by iaky10 with SMTP id y10so658984iak.36 for ; Thu, 29 Mar 2012 23:24:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :x-gm-message-state:content-type:content-transfer-encoding; bh=FjW8s/zcGp+m1oZHD5p9qG/XmKPagjtZLnkdePvLflU=; b=nYZt2qR82uWtAmeT2Y15NkKir9RBby7k7qsMkKMan9ka4bBdwnZc81KkOqKTVdcdGi Kt/oETOaO0VcR4Ucp5wG/zCyKlyXWROf9JAI7BUSprPmU4iCtzVI3CGOG974A8BO8R3A cbFXyNbDuXRDDjxthgU4tXyFNvh4Qkq5NxizOavrjCBP+0WdpqGtiNOX1YsBrJgleBtz MWG3bS7laN7ezCt2oY4UDLkxB2B1toJPbzJuSsYz2qI79m5wr1i/wOVCZHFjJ7qWkLuZ 3akyZEtUvqtuY4ULVK+NAmRL6heURjS/YIKgbB58g9JxDV5QGtUrxm0IPoQpGLX7W/up SAdw== Received: by 10.50.217.230 with SMTP id pb6mr576461igc.1.1333088695741; Thu, 29 Mar 2012 23:24:55 -0700 (PDT) Received: from localhost.localdomain ([58.208.96.125]) by mx.google.com with ESMTPS id xf6sm1344412igb.13.2012.03.29.23.24.52 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Mar 2012 23:24:54 -0700 (PDT) From: Shawn Guo To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] =?UTF-8?q?ARM:=20imx:=20fix=20=E2=80=98arm=5Fpm=5Fidle=E2=80?= =?UTF-8?q?=99=20undeclared=20error?= Date: Fri, 30 Mar 2012 14:24:49 +0800 Message-Id: <1333088689-16135-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.5.4 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlTO53ih6p1Hf5wfB2pWPxBOxbkgFEBkdT9bhT0DYLmd+z5JaOIxotHlsznwHxlP+idqnLn X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.210.177 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Shawn Guo X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Add missing #include to fix the following compile error. CC arch/arm/mach-imx/mm-imx5.o arch/arm/mach-imx/mm-imx5.c: In function ‘imx51_init_early’: arch/arm/mach-imx/mm-imx5.c:105:2: error: ‘arm_pm_idle’ undeclared (first use in this function) arch/arm/mach-imx/mm-imx5.c:105:2: note: each undeclared identifier is reported only once for each function it appears in Signed-off-by: Shawn Guo --- arch/arm/mach-imx/mm-imx3.c | 1 + arch/arm/mach-imx/mm-imx5.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c index d534d7f..7412738 100644 --- a/arch/arm/mach-imx/mm-imx3.c +++ b/arch/arm/mach-imx/mm-imx3.c @@ -21,6 +21,7 @@ #include #include +#include #include #include diff --git a/arch/arm/mach-imx/mm-imx5.c b/arch/arm/mach-imx/mm-imx5.c index 51af9fa..05250ae 100644 --- a/arch/arm/mach-imx/mm-imx5.c +++ b/arch/arm/mach-imx/mm-imx5.c @@ -15,6 +15,7 @@ #include #include +#include #include #include