From patchwork Mon Dec 11 11:47:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10104853 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 767EC602B3 for ; Mon, 11 Dec 2017 11:58:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66E7429556 for ; Mon, 11 Dec 2017 11:58:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5B82D29558; Mon, 11 Dec 2017 11:58:51 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id ED8AA29556 for ; Mon, 11 Dec 2017 11:58:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=Bk16A3wXGLYcADSRIJ+S3KLf2A1iCQujT+tITagxggY=; b=nhS ZTtWxQbkFWGnW4TiUAHfK+OxziRTcWePSIf1JBhBhfpV+HQHqq7g5fCYGn72awIeC0k+CZFwoeJyX BOebcZru/iXduYpDbOuJuLn1c6FsBOzXjVmSJg3oeiDWZvGZqvg9hVOoHQlaEcMSEfcyMwC/rRHKR 0oBTkMENWd8sQhPK42CxilyqEM5Wirf0JozvwWdc6fCkbhaCkgZNNZNTYs0gEzcQuvSNx5PyvYW/J LcTd7mkIz1n2Pk1HMT/28bjQFUUidvMNjhOYGk1AyAWY2bZsD5AmK0KkIa2jFqhs8AtArRsSGvaEA HeZQBDiNc9sRSdG7utT2M4OKs8f4UmQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eOMjP-0004Js-B8; Mon, 11 Dec 2017 11:58:47 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eOMZb-00081E-7V for linux-arm-kernel@lists.infradead.org; Mon, 11 Dec 2017 11:48:49 +0000 Received: from wuerfel.lan ([149.172.96.106]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.129]) with ESMTPA (Nemesis) id 0LbvAu-1enlkG2xeO-00jGVF; Mon, 11 Dec 2017 12:47:56 +0100 From: Arnd Bergmann To: Herbert Xu , "David S. Miller" Subject: [PATCH] crypto: stm32: fix modular build Date: Mon, 11 Dec 2017 12:47:32 +0100 Message-Id: <20171211114752.3637710-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:1ESqqLX+ZNBDQtczskMMz7Hz2tcE/SH2l799Mfa1KOHF5WC/1Pk VEeDL1egi2O/t91GNiQjhRm84awcS/8HbeS/KHdUgxF4ZsPtjrA0e0UiI/e2og9nSrnTMgw Nl++8d7+QzbLAJL447qNJ5GxoGlW01/T1VRJiYFW4sH6G++aDwC2J2JQDDUzMWv+cysvNKZ nTg6houPtD4use1WBw0BA== X-UI-Out-Filterresults: notjunk:1; V01:K0:CKJwwh9ui6M=:qW1TDsqVHBQfUzF8ItzK9B MvmkFRHeUhDEbcOCjmfcMiF0GUt0m0dJ/SKIt4TCnYoJp7BfkDpIJaOMZo7pziE5ilKsObelG 8Y4niz89joIJz+pC+Y34LDUrReCDdVHCMoQggthvPPusSCVXJPYabThuz6NLKsaaQCQra48Wj 8Q1wmUz8CYeYitTxbDXj1l1upa4cVX3XxyNnbM0Yx787tUm9ZXh0y8GyVKP/9LM2luoP7TGeZ pUjAMEjmykMd29RWznr1hD+IlIxuQAKDx+EEqB371m9IngaTe3/C/HKHE440frqBnXqLWjIOz D+P0lc40Bjt4uh1G4jiMLdV9nTYQ5NpCneEjkvgGDnukaAQ03Id2xD1gcjjF4YSoB4dbz4MHH ecBy9VEOc8Dgc+HzohfSjtbw1ruZIAKNGgO8GrZPL9IfVWjwRi/m4yrEbPO0EE4O5HZMkXIOt 6jNuxRs502PiFsTFAyafhkLkBlUwr5CHcIZusH2slrOYhhpHObCnMLF7vpmBKZloX1s2Z+K3I aMfNfzt2wYvSHIvslMuxdDBCUxn9wf5jXDuaR0gy0HBGMptd6FF3Me2rTEH9zh5F3+8oDJCOY LBU+sWm0xu1GrN9MYohgfL4emIS8IJOGQVAWpCpiqySZk5EoUqMhkujCACcsbTzIaSjGI/vhp Zp48aYMAAtb40q7YqbFnK0O6qthvDurOwIJ/9sCvdfjh8LgodyObaQen1FVQM0FoAhTbVM8QN H+Ehs14rNeGLOOA4oy8JS2dBcQoAXo1xXFOn2g== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171211_034840_674084_E05F5EB3 X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Torgue , Arnd Bergmann , linux-kernel@vger.kernel.org, Fabien DESSENNE , linux-crypto@vger.kernel.org, Maxime Coquelin , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Building the stm32 crypto suport as a loadable module causes a build failure from a simple typo: drivers/crypto/stm32/stm32-cryp.c:1035:25: error: 'sti_dt_ids' undeclared here (not in a function); did you mean 'stm32_dt_ids'? This renames the reference to point to the correct symbol. Fixes: 9e054ec21ef8 ("crypto: stm32 - Support for STM32 CRYP crypto module") Signed-off-by: Arnd Bergmann --- drivers/crypto/stm32/stm32-cryp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/stm32/stm32-cryp.c b/drivers/crypto/stm32/stm32-cryp.c index 459755940632..cf1dddbeaa2c 100644 --- a/drivers/crypto/stm32/stm32-cryp.c +++ b/drivers/crypto/stm32/stm32-cryp.c @@ -1032,7 +1032,7 @@ static const struct of_device_id stm32_dt_ids[] = { { .compatible = "st,stm32f756-cryp", }, {}, }; -MODULE_DEVICE_TABLE(of, sti_dt_ids); +MODULE_DEVICE_TABLE(of, stm32_dt_ids); static int stm32_cryp_probe(struct platform_device *pdev) {