From patchwork Wed Jan 14 02:21:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 5625311 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E30539F358 for ; Wed, 14 Jan 2015 02:21:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 12FE22038E for ; Wed, 14 Jan 2015 02:21:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C9D00202E6 for ; Wed, 14 Jan 2015 02:21:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751149AbbANCVI (ORCPT ); Tue, 13 Jan 2015 21:21:08 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:38713 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750969AbbANCVH (ORCPT ); Tue, 13 Jan 2015 21:21:07 -0500 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 14 Jan 2015 11:21:05 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 5C91B456BF; Wed, 14 Jan 2015 11:21:05 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 526338002E; Wed, 14 Jan 2015 11:21:05 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 4DF678002D; Wed, 14 Jan 2015 11:21:05 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac1.idc.renesas.com with ESMTP id MAW20397; Wed, 14 Jan 2015 11:21:05 +0900 X-IronPort-AV: E=Sophos;i="5.07,753,1413212400"; d="scan'208";a="177539051" Received: from mail-hk1lp0126.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.126]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 14 Jan 2015 11:21:04 +0900 Received: from remon.renesas.com (211.11.155.132) by HKXPR06MB167.apcprd06.prod.outlook.com (10.242.124.19) with Microsoft SMTP Server (TLS) id 15.1.53.17; Wed, 14 Jan 2015 02:21:02 +0000 From: Kuninori Morimoto Subject: [PATCH] mmc: tmio: add missing EXPORT_SYMBOL for tmio_mmc_host_alloc/free User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 To: Ulf Hansson Message-ID: <87twzvuvl1.wl%kuninori.morimoto.gx@renesas.com> CC: Chris Ball , Simon , Linux-SH , linux-mmc , In-Reply-To: <201501131902.WqokttpY%fengguang.wu@intel.com> References: <201501131902.WqokttpY%fengguang.wu@intel.com> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Date: Wed, 14 Jan 2015 02:21:02 +0000 X-Originating-IP: [211.11.155.132] X-ClientProxiedBy: HKXPR03CA0054.apcprd03.prod.outlook.com (10.141.129.44) To HKXPR06MB167.apcprd06.prod.outlook.com (10.242.124.19) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; X-DmarcAction-Test: None X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(3005003);SRVR:HKXPR06MB167; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:HKXPR06MB167; X-Forefront-PRVS: 04569283F9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(19580405001)(19580395003)(47776003)(64706001)(69596002)(106356001)(66066001)(33646002)(86362001)(77096005)(62966003)(77156002)(83506001)(87976001)(122386002)(110136001)(229853001)(40100003)(105586002)(81156004)(92566002)(101416001)(50466002)(46102003)(53416004)(42186005)(23726002)(46406003)(76176999)(50986999)(54356999)(2950100001)(36756003); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB167; H:remon.renesas.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:HKXPR06MB167; X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jan 2015 02:21:02.7140 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB167 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto tmio_mmc_host_alloc/free were added on tmio_mmc_pio.c, but, it is missing EXPORT_SYMBOL for it. Compile will be failed without this patch ERROR: "tmio_mmc_host_free" [drivers/mmc/host/tmio_mmc.ko] undefined! ERROR: "tmio_mmc_host_alloc" [drivers/mmc/host/tmio_mmc.ko] undefined! ERROR: "tmio_mmc_host_free" [drivers/mmc/host/sh_mobile_sdhi.ko] undefined! ERROR: "tmio_mmc_host_alloc" [drivers/mmc/host/sh_mobile_sdhi.ko] undefined! Signed-off-by: Kuninori Morimoto --- drivers/mmc/host/tmio_mmc_pio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host/tmio_mmc_pio.c index 67c8182..a31c357 100644 --- a/drivers/mmc/host/tmio_mmc_pio.c +++ b/drivers/mmc/host/tmio_mmc_pio.c @@ -1068,6 +1068,7 @@ tmio_mmc_host_alloc(struct platform_device *pdev) return host; } +EXPORT_SYMBOL(tmio_mmc_host_alloc); void tmio_mmc_host_free(struct tmio_mmc_host *host) { @@ -1075,6 +1076,7 @@ void tmio_mmc_host_free(struct tmio_mmc_host *host) host->mmc = NULL; } +EXPORT_SYMBOL(tmio_mmc_host_free); int tmio_mmc_host_probe(struct tmio_mmc_host *_host, struct tmio_mmc_data *pdata)