From patchwork Tue Nov 6 21:55:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12697 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id E0BED23E00 for ; Tue, 6 Nov 2012 21:55:47 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 5ADF9A1870B for ; Tue, 6 Nov 2012 21:55:47 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f6so618566iag.11 for ; Tue, 06 Nov 2012 13:55:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-provags-id:x-gm-message-state; bh=wMSYivI434eJ0Qix1tWAqA2xQjqVPTP4B/RyibrHF9Y=; b=ntb7Ur+SIYZb4RZCIUENWiRJUy7XC4J/YcH9pK/UvQHNb871pZZr+mdvLNVtCvw7nQ h7vo13s3adTFjBWchxhdf2VBmaKDG0Pyxx6ElwesG/uXfLU98lnJX1r4BGGzfGBg2ouW a9WjVoQzkdduuD+zUSpogvMk8kzy0afQdVeYXMOACnlZc7hnpUBQX1f8FpvmuSgTYnIy L1Hjq2gKqyKySReJYbfTM9MxVi2ejOpFeldF/EMRIwsYyMWFOMOwW6CZ8/hmnFFqR627 Q1cCKQ4m2EfsRhr6oI7rU7bTZDn2IsE7ovTNzWi9hbu94YrkgKQZnytttwH1t1VvAkdM zwVQ== Received: by 10.50.161.169 with SMTP id xt9mr14411096igb.62.1352238946766; Tue, 06 Nov 2012 13:55:46 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp114499igt; Tue, 6 Nov 2012 13:55:46 -0800 (PST) Received: by 10.14.182.9 with SMTP id n9mr7887910eem.24.1352238945381; Tue, 06 Nov 2012 13:55:45 -0800 (PST) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.126.171]) by mx.google.com with ESMTPS id m46si15592149eeo.113.2012.11.06.13.55.44 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Nov 2012 13:55:45 -0800 (PST) Received-SPF: neutral (google.com: 212.227.126.171 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.126.171; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.126.171 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) smtp.mail=arnd@arndb.de Received: from localhost.localdomain (HSI-KBW-149-172-5-253.hsi13.kabel-badenwuerttemberg.de [149.172.5.253]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MMpaR-1TQeJe2npH-008PuW; Tue, 06 Nov 2012 22:55:41 +0100 From: Arnd Bergmann To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Thomas Abraham , Will Newton , Chris Ball Subject: [PATCH 5/8] mmc: dw_mmc: fix modular build for exynos back-end Date: Tue, 6 Nov 2012 22:55:30 +0100 Message-Id: <1352238933-4886-6-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1352238933-4886-1-git-send-email-arnd@arndb.de> References: <1352238933-4886-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:XKfFLLdcX7toRHbCArPLENZLwa5NSArGJx4Er0TTMec L0K4D1FEaAIX1x+G9Y+3ntmP6wYsn1vqgJcgcPIwbJLQPzTfkE j7juU2+wO1dOKuPtcVcthOzbNZ7FpOUq+EF+tows2xc2ijuhcQ fznTJwoGZ/h9SdSqzleyuM/qIwG7XLXxPP0II5OsjmjlfWEqfB QFSiTu37rkFHx3JHN8uvmc5vx286I+pPSWOQVrrTB1eQtquxLh d0Og/lkDflGdM2KCOmpqAc8ltmmXr3H2jLwA7o/fNBeqGYzGyt rpHPS/r0x+efUpzvD1Ud+uPq4hj5IxxjPmIk5G2oq7xMVvLyhX y2WmfZGQPUFvi3ZbhwFlL7DBqSOuOpEZ0Fny9I7aSqO1c0qftk Q+xsnTETfD5cQ== X-Gm-Message-State: ALoCoQm7jfqmGK8eEquZrwpfqfuSq3xxnY1lTdnFTPv+Yw6Q0UNLtDFzPutp8brb4aB4yqERhSCs The MODULE_DEVICE_TABLE entry for dw_mci_exynos_match was incorrectly copied from the platform back-end, which causes this error when building the driver as a loadable module: drivers/mmc/host/dw_mmc-exynos.c: At top level: drivers/mmc/host/dw_mmc-exynos.c:226:34: error: '__mod_of_device_table' aliased to undefined symbol 'dw_mci_pltfm_match' This patch fixes the problem by just using the correct string. Signed-off-by: Arnd Bergmann Cc: Thomas Abraham Cc: Will Newton Cc: Chris Ball --- drivers/mmc/host/dw_mmc-exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index 660bbc5..0147ac3a 100644 --- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -223,7 +223,7 @@ static const struct of_device_id dw_mci_exynos_match[] = { .data = (void *)&exynos5250_drv_data, }, {}, }; -MODULE_DEVICE_TABLE(of, dw_mci_pltfm_match); +MODULE_DEVICE_TABLE(of, dw_mci_exynos_match); int dw_mci_exynos_probe(struct platform_device *pdev) {