From patchwork Mon May 22 13:33:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9740335 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2453E6034C for ; Mon, 22 May 2017 13:34:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1062526E51 for ; Mon, 22 May 2017 13:34:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0305728641; Mon, 22 May 2017 13:34:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 73B7626E51 for ; Mon, 22 May 2017 13:34:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933202AbdEVNd7 (ORCPT ); Mon, 22 May 2017 09:33:59 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:61342 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933201AbdEVNd6 (ORCPT ); Mon, 22 May 2017 09:33:58 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.129]) with ESMTPA (Nemesis) id 0MEJKO-1dAZSi2Ney-00FTCu; Mon, 22 May 2017 15:33:44 +0200 From: Arnd Bergmann To: Ulf Hansson , Wolfram Sang , Simon Horman Cc: Arnd Bergmann , Chris Brandt , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] mmc: renesas-sdhi: export renesas_sdhi_probe Date: Mon, 22 May 2017 15:33:08 +0200 Message-Id: <20170522133339.798278-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:mL5tjjsDVQZ/dpp1FkEqgf0Y20HnYwjOmoLBmBV6rKu1+gc5Yqb u93SKavg5AJst+4Sdsbpomr/j7+/yGrMl1Ro3Rv05wpQWCJIP8VQz/H00KjcO51w+p/f1wl eYgnV4/BHjFZ5VSH48XZr2fRX9rO5XfTzybGKayBhbkCFhfTjswt08EQ2shSRwbsUvZ69M1 HW5+eM8vECOK8CMx4Rq/g== X-UI-Out-Filterresults: notjunk:1; V01:K0:rSqFLfBPOEk=:C30yvresyr0FnRx7nTA7Rj u0eW/iw2Jd7t2jAbQs4xtB99E25C2DGaqfwxZ4ecIzY9EiPTX42PHUL6zksz/E54f77r7B0XQ 3beaIS5f9GrbO78a9wmnrm6DRSzVqcdMfoEgBDX0ec5AbTWAqmqnXP8BJ+Pp60kJ4V50/KQ4l fwFrlDu7rmrK7nA6ktUf2JZNbbD04nXQ4dwTuA5E2OLSQOX7GjfP93+i4MF97c1AUY0/4t+6V kY3wfhSMt7DuB1DkDeE8l3tl8DkLNo5GFjS7yYfPuD13FN00JH0+o4SR2UqE6db/ujz7pYSAX tC1dBCiTs1Ct/AXvXoEI5U3nxqYyOBuxAoZLvWbXSjfAYLu6uP4yZZqu35ZBYaIEMP9yCQLkM aJvePYWak6RScpVZRPHn6i4vJPMkaYf+0ETgb9aQlBDJ2z5Rvyc3aglysuff4If+8C3h8jccR XaBbNcM8wx1CC/FxxD/nzOX0D3eA67TM/W1m3KhKVCohLmRIDaR9cDRHbcF4d8faxCkjIoFwY qOyAdCpQ5BKx0OUCQLXTIQWfrb34btUrNhlTRRFSgeqUsenjxx7/+p1SwkZEaYVbcyrhLTGye nx9eU+pE5tS3SkJZKHnUUNq+w/Y9BAedJY1uondOsOg/Qp5IUF9cXMpuPcbhv8mwIo2CG8gv/ 4PhXZQYo9Wya7mxdFj8HG14ewIxYusaru+hBj4ljqgXaJJIlIJjebHfYC1eKuK5i6pag= Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We now build the sdhi driver in separate modules, which means we have to export the symbols that are called from another module: ERROR: "renesas_sdhi_remove" [drivers/mmc/host/renesas_sdhi_sys_dmac.ko] undefined! ERROR: "renesas_sdhi_probe" [drivers/mmc/host/renesas_sdhi_sys_dmac.ko] undefined! Fixes: 94418768f765 ("mmc: renesas-sdhi: make renesas_sdhi_sys_dmac main module file") Signed-off-by: Arnd Bergmann Reviewed-by: Wolfram Sang --- drivers/mmc/host/renesas_sdhi_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/host/renesas_sdhi_core.c b/drivers/mmc/host/renesas_sdhi_core.c index 846ee1a8e5a6..fa6c188e0327 100644 --- a/drivers/mmc/host/renesas_sdhi_core.c +++ b/drivers/mmc/host/renesas_sdhi_core.c @@ -638,6 +638,7 @@ int renesas_sdhi_probe(struct platform_device *pdev, eprobe: return ret; } +EXPORT_SYMBOL_GPL(renesas_sdhi_probe); int renesas_sdhi_remove(struct platform_device *pdev) { @@ -648,3 +649,4 @@ int renesas_sdhi_remove(struct platform_device *pdev) return 0; } +EXPORT_SYMBOL_GPL(renesas_sdhi_remove);