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: 10104843 X-Patchwork-Delegate: herbert@gondor.apana.org.au 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 792BF602A7 for ; Mon, 11 Dec 2017 11:48:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3391029555 for ; Mon, 11 Dec 2017 11:48:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 277FB29557; Mon, 11 Dec 2017 11:48:53 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8EE4329555 for ; Mon, 11 Dec 2017 11:48:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752602AbdLKLsv (ORCPT ); Mon, 11 Dec 2017 06:48:51 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:63369 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752048AbdLKLsu (ORCPT ); Mon, 11 Dec 2017 06:48:50 -0500 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" Cc: Arnd Bergmann , Maxime Coquelin , Alexandre Torgue , Fabien DESSENNE , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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== Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.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) {