From patchwork Tue Oct 9 15:22:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 1570461 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 102A0DFFAD for ; Tue, 9 Oct 2012 15:27:15 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TLbg5-0005SP-Qh; Tue, 09 Oct 2012 15:25:02 +0000 Received: from moutng.kundenserver.de ([212.227.126.186]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TLbek-00050m-6o for linux-arm-kernel@lists.infradead.org; Tue, 09 Oct 2012 15:23:42 +0000 Received: from klappe2.boeblingen.de.ibm.com (deibp9eh1--blueice3n2.emea.ibm.com [195.212.29.180]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0LkxjZ-1Tu7WT3Ubl-00bLqM; Tue, 09 Oct 2012 17:23:25 +0200 From: Arnd Bergmann To: Russell King Subject: [PATCH 4/9] ARM: export default read_current_timer Date: Tue, 9 Oct 2012 17:22:58 +0200 Message-Id: <1349796183-30648-5-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1349796183-30648-1-git-send-email-arnd@arndb.de> References: <1349796183-30648-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:tQwDLTbDKdlxamDX8PrzfRSjNrYedr3CNwVYu4j8u9v d00uiBeOHEZ8PJKgOCAR+Q2VhSAfsmxXAPOo9CleWzmQGQyVSq x9AqzTCj6R0l1/4VqdDcy8mkuw70Fkx9yzah8lJN7m0gBUHUgu +tp2MsUSY0Zd16OPX9nOYnVvE0iUelqostHGCnSclQCfGT1i9/ /2pVUSd+9K5lMyaZlSCusrby8HArnNH63/nxwxfH9bn7OYzKZv Ulc9KV8rVJDE57EFRAPbsvlIKfAffS3cHGTrKXaJhKq1DwGpFA 3VCB6w+/6szd+kuGg1OGHDVKyzI+c60hbyIHHpDl8DY839p5Pi uw3QNbcJsHtmCg1WiybxNR6ACgb1zF6hMdtehMd+BNrbMlqgWc pZob+kF4OxShJEnk/V7/kbxOlTJBSlgMeY= X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.186 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Jonathan Austin , Arnd Bergmann , Stephen Boyd , Will Deacon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org read_current_timer is used by get_cycles since "ARM: 7538/1: delay: add registration mechanism for delay timer sources", and get_cycles can be used by device drivers in loadable modules, so it has to be exported. Without this patch, building imote2_defconfig fails with ERROR: "read_current_timer" [crypto/tcrypt.ko] undefined! Signed-off-by: Arnd Bergmann Cc: Stephen Boyd Cc: Jonathan Austin Cc: Will Deacon Cc: Russell King --- arch/arm/lib/delay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/lib/delay.c b/arch/arm/lib/delay.c index 9d0a300..0dc5385 100644 --- a/arch/arm/lib/delay.c +++ b/arch/arm/lib/delay.c @@ -45,6 +45,7 @@ int read_current_timer(unsigned long *timer_val) *timer_val = delay_timer->read_current_timer(); return 0; } +EXPORT_SYMBOL_GPL(read_current_timer); static void __timer_delay(unsigned long cycles) {