From patchwork Wed Mar 28 10:49:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 149181 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 C69A5B6EEF for ; Wed, 28 Mar 2012 21:52:41 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SCqSC-0003dO-UO; Wed, 28 Mar 2012 10:50:12 +0000 Received: from mail-wi0-f171.google.com ([209.85.212.171]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SCqSA-0003dA-Mw for linux-arm-kernel@lists.infradead.org; Wed, 28 Mar 2012 10:50:11 +0000 Received: by wibhj13 with SMTP id hj13so4827905wib.0 for ; Wed, 28 Mar 2012 03:50:05 -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=Gq3QiMvz39eKY+STzJ9hfELMX6kv5LgW7OPbGjHtk20=; b=YIOZAbnkRg9MLjphKYa5v/W0WqxZ22Pg/wdPJpxZoT2Ejqj46nAQYhlTvI6FD2wykh F14w3HIDIE7OEoGZz9E3ZTERJOGgkc1xTpssTRsRYPw/a0RLMABESifOiM+IUVToK5eN qI/0/P2O8AWLS+apbSrEMD69UbNzR6rmb2ZoVeqfcm3qtq5ktJ2A155V8C1mAJbLXPp+ qbvrUDzT+aZDEcJQYxVhKbII4DWEoIDkSYEBCfxnbT/TcKhMSEVXZMehaZhfC48frues 6+aG42M3SfHUhex7YHhGox+EKhUusLRuoRQGio+zOU2Na7BQv3fCgGWG6bbv2B5cJFWa HCNg== Received: by 10.180.79.72 with SMTP id h8mr6048792wix.1.1332931805789; Wed, 28 Mar 2012 03:50:05 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id fw5sm57053505wib.0.2012.03.28.03.50.04 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Mar 2012 03:50:05 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: ux500: fix compile error in new timer code Date: Wed, 28 Mar 2012 11:49:47 +0100 Message-Id: <1332931787-27741-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.5.4 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQloQhqxgbQ95kAbQ9cIxUjkaQ0FdOo1xNAz7eJIJUQHuI56rUcposbLDRow8TtyUE2EUdho 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.212.171 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: marc.zyngier@arm.com, Lee Jones , arnd@arndb.de 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 This patch fixes the errors below: error: implicit declaration of function ‘pr_err’ error: implicit declaration of function ‘BUG’ Signed-off-by: Lee Jones Acked-by: Linus Walleij --- arch/arm/mach-ux500/timer.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-ux500/timer.c b/arch/arm/mach-ux500/timer.c index e9d5807..21ec778 100644 --- a/arch/arm/mach-ux500/timer.c +++ b/arch/arm/mach-ux500/timer.c @@ -4,6 +4,8 @@ * License Terms: GNU General Public License v2 * Author: Mattias Wallin for ST-Ericsson */ +#include +#include #include #include #include