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: 100298 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp248833qge; Mon, 22 May 2017 06:34:00 -0700 (PDT) X-Received: by 10.98.25.19 with SMTP id 19mr26185744pfz.146.1495460040796; Mon, 22 May 2017 06:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495460040; cv=none; d=google.com; s=arc-20160816; b=hPODvnCPZSVZTGHBwbq9fCGIPND9AzPxwOuyN3xvid8P9YpFPZTEfmGrjt3dDdPCSm ZkPSYZU0Aoqhq91FYpSlM3Gd03JEmB1dZ2S+TNHO5L8iOqIifUtTZKNAbpGURUGKwJdm jQsGIzvCdBCsijcH5lATWEOZL2WJgdCcjztOu70eC5zMYRpoKExW/6uHo/am8kUDjKK0 E/YTaHaJIM0TFslXx5Kjpbze0iPua8fpETnlqHoQC2RBzpsvqE8bNsCtHuYcDegqbReC 8WwznmMhaO3yG+WpSMABJDCofvq4xqO/7bQs+ZaG2FfWuWfW03Dz+2InIrtSnsILRTd2 uw6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=YclWpeNCK0r/P6OrPP9Wiv6r0B2c0NSRXss5xgIuKXg=; b=u/vY6akkqA6qBpn3wBt1O7qLGotWqUOCviVrMMGRd20Wi0lm2zXWCPt+/kmJKWJkdC 7+mUsMnzsm525Mgobn7NWH2UFJ3QOsswccSFsXgRBHCpEfU1ANHhiypKagM5wEzQBgum N2M3EMezj9ROLMYHjxWSi9r809J27CLsp76A9YXrspoDQji9ZBqFCyjGVJrsGEUxhxoJ 0EOZUVLH+6XLxbGh1L+hIIoz5HVlpkQAVlHr04/unLKBoCSuBkSZ8wZ3wX5nx6Hfx6N2 4qrtQO/E3yoBVNZP9L2iy8diyFnOz9l2rlyoXeuC/RBXczI/FnBg6hCnRm7OmfqmSGo+ jovg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v18si605551pge.1.2017.05.22.06.34.00; Mon, 22 May 2017 06:34:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933202AbdEVNd7 (ORCPT + 6 others); 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 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 --- drivers/mmc/host/renesas_sdhi_core.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Wolfram Sang 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);