From patchwork Tue Aug 23 11:18:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxin John X-Patchwork-Id: 1088062 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7NBIpWX012025 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 23 Aug 2011 11:19:18 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qvp0F-0004Dk-7c; Tue, 23 Aug 2011 11:18:43 +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 1Qvp0E-0006nx-P1; Tue, 23 Aug 2011 11:18:42 +0000 Received: from mail-ww0-f49.google.com ([74.125.82.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qvp0C-0006nc-J9 for linux-arm-kernel@lists.infradead.org; Tue, 23 Aug 2011 11:18:41 +0000 Received: by wwf10 with SMTP id 10so4391885wwf.18 for ; Tue, 23 Aug 2011 04:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=FAblukWbT6zR3T1QEAibW2ygTf/b3eBo9QE8ru3oeE8=; b=IkvSGEIFEsKLiormg38NsP8u+pg1/ug841rFG4qL5D9nAGhnQ2rqYZF+Iuc42yivEq Ri5KPrDll1c9kb1H4KfTj8ebpXXklMhuB404Wg986/1aFDWfSVYLYz06yBMcRoo+nczV 6QbPGG8z5EHFaEBLT8Z/cJKF9q0XfErqflHm4= Received: by 10.216.163.133 with SMTP id a5mr3386763wel.58.1314098316738; Tue, 23 Aug 2011 04:18:36 -0700 (PDT) Received: from localhost ([192.100.124.156]) by mx.google.com with ESMTPS id fb2sm64288wbb.11.2011.08.23.04.18.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 23 Aug 2011 04:18:26 -0700 (PDT) Date: Tue, 23 Aug 2011 14:18:24 +0300 From: "Maxin B. John" To: Jiandong Zheng Subject: [PATCH 1/2] arm: mach-bcmring: fix build error in core.c Message-ID: <20110823111824.GA2806@maxin> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110823_071840_852526_F0FFD36A X-CRM114-Status: GOOD ( 12.54 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maxin.john[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] 0.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [192.100.124.156 listed in dnsbl.sorbs.net] -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-arm-kernel@lists.infradead.org, Scott Branden , linux-kernel@vger.kernel.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]); Tue, 23 Aug 2011 11:19:18 +0000 (UTC) CC arch/arm/mach-bcmring/core.o arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer': arch/arm/mach-bcmring/core.c:238: error: implicit declaration of function 'sp804_clockevents_register' make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1 make: *** [arch/arm/mach-bcmring] Error 2 Please let me know your comments on this fix: Signed-off-by: Maxin B. John Signed-off-by: Jiandong Zheng diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c index 43eadbc..430da12 100644 --- a/arch/arm/mach-bcmring/core.c +++ b/arch/arm/mach-bcmring/core.c @@ -235,7 +235,7 @@ void __init bcmring_init_timer(void) */ bcmring_clocksource_init(); - sp804_clockevents_register(TIMER0_VA_BASE, IRQ_TIMER0, "timer0"); + sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMER0, "timer0"); } struct sys_timer bcmring_timer = {