From patchwork Sun Sep 2 12:25:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 1396511 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 65E5DDF283 for ; Sun, 2 Sep 2012 12:29:09 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T89Fe-00032T-Hu; Sun, 02 Sep 2012 12:26:06 +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 1T89Fa-00032F-1S for linux-arm-kernel@lists.infradead.org; Sun, 02 Sep 2012 12:26:03 +0000 Received: by pbbrq8 with SMTP id rq8so7320036pbb.36 for ; Sun, 02 Sep 2012 05:25:58 -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=D00xhKFuiTvku50z05g4GCL6Jxba0LPCzqYsP5rCeqE=; b=HEEBvAZGpCGaa2mSPZBpKpg7TRL1oT4LJHsAUeMB0Qfozh9kCAFDuY9BVPjuI/IdQa jacI3PcDzaGdE+qCa5SqM3DZZBLNbkBasLZfmMYL7J0DX6XzTsewHLNM69MVS8tbft+H UbC5S0u4i9VwvEOUlwmYI9hezuOkDaHoSIVnfHtq+jKu/2p6AZOM3ZQN87jVoR0PnvuQ rEtPeggrxh9/X55JSGcU1AfT4lD9mHYAdAi0uhdGpg3y90/wsi1OxfJu/bOKcYN/siMb bxXu2KbumPGmS3cTIVibpPJF+AQkoO+/lOglYobfPxyvlz6ecYcfyD1dJaAqyjrBWaRW Ss0w== Received: by 10.68.224.5 with SMTP id qy5mr30978171pbc.4.1346588758048; Sun, 02 Sep 2012 05:25:58 -0700 (PDT) Received: from [122.121.50.23] (122-121-50-23.dynamic.hinet.net. [122.121.50.23]) by mx.google.com with ESMTPS id st6sm7644858pbc.58.2012.09.02.05.25.54 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Sep 2012 05:25:57 -0700 (PDT) Message-ID: <1346588747.7909.2.camel@phoenix> Subject: [PATCH] ARM: ux500: Fix build error due to missing include of asm/pmu.h in cpu-db8500.c From: Axel Lin To: Linus Walleij Date: Sun, 02 Sep 2012 20:25:47 +0800 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -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 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (axel.lin[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 2.5 SUSPICIOUS_RECIPS Similar addresses in recipient list -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, Srinidhi Kasagar 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 asm/pmu.h to fix below build error: CC arch/arm/mach-ux500/cpu-db8500.o arch/arm/mach-ux500/cpu-db8500.c:118:8: error: variable 'db8500_pmu_platdata' has initializer but incomplete type arch/arm/mach-ux500/cpu-db8500.c:119:2: error: unknown field 'handle_irq' specified in initializer arch/arm/mach-ux500/cpu-db8500.c:119:2: warning: excess elements in struct initializer [enabled by default] arch/arm/mach-ux500/cpu-db8500.c:119:2: warning: (near initialization for 'db8500_pmu_platdata') [enabled by default] make[1]: *** [arch/arm/mach-ux500/cpu-db8500.o] Error 1 make: *** [arch/arm/mach-ux500] Error 2 Signed-off-by: Axel Lin --- arch/arm/mach-ux500/cpu-db8500.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index 8169f2c..3ce7d94 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -18,6 +18,7 @@ #include #include +#include #include #include #include