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: 851042 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p567eudb031535 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 6 Jun 2011 07:41:17 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QTUQX-0000FQ-Mv; 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-9B; 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-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 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 06 Jun 2011 07:41:18 +0000 (UTC) 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