From patchwork Thu Dec 12 02:34:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 11286779 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EA27A1593 for ; Thu, 12 Dec 2019 02:35:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D2AED214D8 for ; Thu, 12 Dec 2019 02:35:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727592AbfLLCfJ (ORCPT ); Wed, 11 Dec 2019 21:35:09 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:4925 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727599AbfLLCfJ (ORCPT ); Wed, 11 Dec 2019 21:35:09 -0500 Date: 12 Dec 2019 11:34:48 +0900 X-IronPort-AV: E=Sophos;i="5.69,304,1571670000"; d="scan'208";a="33956863" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 12 Dec 2019 11:34:48 +0900 Received: from morimoto-PC.renesas.com (unknown [10.166.18.140]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 362FD4006199; Thu, 12 Dec 2019 11:34:48 +0900 (JST) Message-ID: <87zhfyclvb.wl-kuninori.morimoto.gx@renesas.com> From: morimoto Subject: [PATCH] sh: add missing EXPORT_SYMBOL() for __delay User-Agent: Wanderlust/2.15.9 Emacs/24.5 Mule/6.0 To: Yoshinori Sato , Rich Felker , Andrew Morton Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: morimoto __delay() is used from kernel module. We need EXPORT_SYMBOL(), otherwise we will get compile error. ERROR: "__delay" [drivers/net/phy/mdio-cavium.ko] undefined! Signed-off-by: morimoto Signed-off-by: Kuninori Morimoto --- arch/sh/lib/delay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sh/lib/delay.c b/arch/sh/lib/delay.c index dad8e6a..540e670 100644 --- a/arch/sh/lib/delay.c +++ b/arch/sh/lib/delay.c @@ -29,6 +29,7 @@ void __delay(unsigned long loops) : "0" (loops) : "t"); } +EXPORT_SYMBOL(__delay); inline void __const_udelay(unsigned long xloops) {