From patchwork Thu Jun 8 13:27:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 103386 Delivered-To: patches@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2439488qgd; Thu, 8 Jun 2017 06:27:52 -0700 (PDT) X-Received: by 10.25.99.21 with SMTP id x21mr8300213lfb.66.1496928472752; Thu, 08 Jun 2017 06:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496928472; cv=none; d=google.com; s=arc-20160816; b=G/omNv0pdgMB6K/J8A+LhA6/jY3VG82b/lwvQ2j2tGB/eDwFS2i84S8pMeoFupRJEL Vw0TdudpGqad9kZJB39M2JbHunj2DIog4j1z8SMgmcCWkYTHRR0uFh6Yj0+ZiusVZ5qi 4HKrmQYhQ0UboSjxPY6pC0nQhTsteOj3CsyXhjcMtrciP03QNguyMeME/9jGlIbUI4j2 vZDKRKrg+CSe5Itqkl9QK4aCsaSNqzIAqiDUV/Jrq0+nLhUe/j4I1U8EQXpiMYphY8aq bgWVEohhcmGW45uxAptUyiUKY/fM0DX1rz0FkGzMV0wlPNLKImHsVpOkOEoz9MUttwNa X7Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=7z2OTnMY2snlFgfVVM1YRNOb2WURM9yGBCrSTGfExzU=; b=o6t9wXAKotOLDaWlGxe727d0ll4qA9LMuupM7x3R6Raz/3j+UtSTJIiNyNUAOWmsnQ i6uUZuaORCdxFzrOsWn2A5AfQoOiRmzM4Jp01pYmbT0N0J9lg+cCRCQkmQ3WdsItvDW9 2bL8nG+vxgCyQV/99l7Y+bsArUEOf+/Is0A1Vf4EQOF8JNbVqn/+gDQ5x2+HNttHgFR9 sF1DTWsLNTuYAQGwPO14ZnDFQuN1nTBUHkwcvGZ5hRaYycgpwmr1cJWu1fvV9zKSWiEY zqpMpgOGT/1c0ccowsIsG6QoYwzJhDS0b8iPgCTkr/O5mmGgie+2McYb9vJPpRftiO3N GMpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::229 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com. [2a00:1450:4010:c07::229]) by mx.google.com with ESMTPS id b68si2420094lfg.114.2017.06.08.06.27.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2017 06:27:52 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::229 as permitted sender) client-ip=2a00:1450:4010:c07::229; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::229 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-lf0-x229.google.com with SMTP id o83so18027012lff.3 for ; Thu, 08 Jun 2017 06:27:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7z2OTnMY2snlFgfVVM1YRNOb2WURM9yGBCrSTGfExzU=; b=hVZeGLQ2P5zdD5Sdp10LHOU7MbfKggGErKNH8YMU5cHcTqK4pLrDyt5Y6w7ypUGCaN S3H+4h1W17WVyYklpRl2szmAlu9xUAVw7tGgYHBJrQc0Pb0pOUdO6JkjN5+EhC3n5aJL rFkjJ1Pq1I//8onD2be8HmubxL6CIFxPjaXto= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=7z2OTnMY2snlFgfVVM1YRNOb2WURM9yGBCrSTGfExzU=; b=UL44s3Wq4l1r1Lxihv/cn8xtq2iPrnb0HQJZZBXLJZcCjspYlm3YnzgM6Joq5cBkTq m3FvyqTVCOkYtdNjg9TbTXDSPAJVhWGeAuEjbVwqs5/g9P04odD29tULR6YhC+yCHyHN /GXrxbkUZhiRlskedqVoVYS0/saBvQNv5vKiAeJdNS2SnQPg45IjyeDq5ib+acpwEt0q 49ryeN9VcJZ8ahNeAyMSgbaOl9DQqDDt4h+eFiJ1jXAXahbWjzwW61ONfIFuq9eJpGa9 MioAR+YgHTLCVHxn8iRbLT2WzsIMO+397a4qj2k8xS3ReUxGB+HaFebbwLw2chvjZAm7 mKnA== X-Gm-Message-State: AODbwcBFmZZnj7O2suCGKEkYIxGdqZpARFxGgHzmNTHiT25RLtZywGQX 8AARet6GHWQkfeNdhCjL2MO1 X-Received: by 10.46.13.1 with SMTP id 1mr11884355ljn.134.1496928472252; Thu, 08 Jun 2017 06:27:52 -0700 (PDT) Return-Path: Received: from uffe-XPS-13-9360.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id i8sm1025178ljb.55.2017.06.08.06.27.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 06:27:51 -0700 (PDT) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Jaehoon Chung , Adrian Hunter , Linus Walleij Subject: [PATCH 1/9] mmc: core: Don't export some eMMC specific functions from core.c Date: Thu, 8 Jun 2017 15:27:37 +0200 Message-Id: <1496928465-25004-2-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496928465-25004-1-git-send-email-ulf.hansson@linaro.org> References: <1496928465-25004-1-git-send-email-ulf.hansson@linaro.org> The mmc_start|stop_bkops(), mmc_read_bkops_status() and mmc_interrupt_hpi() functions are all used from within the mmc core module, thus there are no need to use EXPORT_SYMBOL() for them, so let's remove it. Signed-off-by: Ulf Hansson --- drivers/mmc/core/core.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.7.4 diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index ad8caf4..d48be0b 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -428,7 +428,6 @@ void mmc_start_bkops(struct mmc_card *card, bool from_exception) out: mmc_release_host(card->host); } -EXPORT_SYMBOL(mmc_start_bkops); /* * mmc_wait_data_done() - done callback for data request @@ -811,7 +810,6 @@ int mmc_interrupt_hpi(struct mmc_card *card) mmc_release_host(card->host); return err; } -EXPORT_SYMBOL(mmc_interrupt_hpi); /** * mmc_wait_for_cmd - start a command and wait for completion @@ -869,7 +867,6 @@ int mmc_stop_bkops(struct mmc_card *card) return err; } -EXPORT_SYMBOL(mmc_stop_bkops); int mmc_read_bkops_status(struct mmc_card *card) { @@ -887,7 +884,6 @@ int mmc_read_bkops_status(struct mmc_card *card) kfree(ext_csd); return 0; } -EXPORT_SYMBOL(mmc_read_bkops_status); /** * mmc_set_data_timeout - set the timeout for a data command