From patchwork Mon Jun 6 07:40:38 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grant Likely X-Patchwork-Id: 98809 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 [205.233.59.134]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B9925B6F94 for ; Mon, 6 Jun 2011 17:40:53 +1000 (EST) Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QTUQX-0000FP-Ex; Mon, 06 Jun 2011 07:40:45 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QTUQX-0004zP-2m; Mon, 06 Jun 2011 07:40:45 +0000 Received: from mail-pz0-f49.google.com ([209.85.210.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QTUQU-0004z6-9M for linux-arm-kernel@lists.infradead.org; Mon, 06 Jun 2011 07:40:43 +0000 Received: by pzk28 with SMTP id 28so2503935pzk.36 for ; Mon, 06 Jun 2011 00:40:39 -0700 (PDT) Received: by 10.68.22.101 with SMTP id c5mr1811649pbf.502.1307346038951; Mon, 06 Jun 2011 00:40:38 -0700 (PDT) Received: from localhost (S01060002b3d79728.cg.shawcable.net [70.72.87.49]) by mx.google.com with ESMTPS id f3sm3504687pbj.0.2011.06.06.00.40.38 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Jun 2011 00:40:38 -0700 (PDT) Received: from [127.0.1.1] (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id E60741807E8; Mon, 6 Jun 2011 01:40:38 -0600 (MDT) Subject: [PATCH] arm/mxs: Fix build failure on ocotp.c To: Russell King , linux-arm-kernel@lists.infradead.org, Sascha Hauer , linux-kernel@vger.kernel.org From: Grant Likely Date: Mon, 06 Jun 2011 01:40:38 -0600 Message-ID: <20110606074024.23861.55150.stgit@ponder> User-Agent: StGit/0.15 MIME-Version: 1.0 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110606_034042_563935_468B3F5C X-CRM114-Status: GOOD ( 13.57 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.210.49 listed in list.dnswl.org] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 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 arch/arm/mach-mxs/ocotp.c needs to include asm/processor.h to get the definition of cpu_relax(). Signed-off-by: Grant Likely --- arch/arm/mach-mxs/ocotp.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-mxs/ocotp.c b/arch/arm/mach-mxs/ocotp.c index 65157a3..c7a4d34 100644 --- a/arch/arm/mach-mxs/ocotp.c +++ b/arch/arm/mach-mxs/ocotp.c @@ -16,6 +16,8 @@ #include #include +#include + #include #define OCOTP_WORD_OFFSET 0x20