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: 121375 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2685979qgn; Mon, 11 Dec 2017 03:48:53 -0800 (PST) X-Google-Smtp-Source: ACJfBouAhs5qp/3Ls9KOoaW7IDcT9B7u0H71jR45d7MvF0hLen4NaOm+6jx4Zjnx6vA4tFiowdKu X-Received: by 10.101.90.8 with SMTP id y8mr99203pgs.21.1512992932972; Mon, 11 Dec 2017 03:48:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512992932; cv=none; d=google.com; s=arc-20160816; b=fT53jq3dAvkAVDVUFozJ8k6+OrgN9cUZPPZXUq3gyfB4VY82NmLY8dJvMfDKDVlVMz 4r0u8cKOs8NYIj5bnwzcguSUMYAYG4sAQSKACSPLSyWJpkrA0aZETzmVmyQEiTwXhaeW gcykZMj7yidwNJGvImcyuwgRrAcnCXZUWV3xxBRAD0NouK4btHBWafc1RpqD9WXakq1v Gij16ozHZpCwBK+bExD/6pwRrCiGqEdRqO/k0bsAFnkbjsEWX7rrwwAHCPmFBhMegCFk kx2YawB6KsIgPcqmrlMj3mQ+FXmHmJrAY4RjyO5RMePXs/xyBIspEJuXKiKRKSPAioUm fPOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=KC6HEAwcMHmWPtL2hnAMJMzCnyExKP5kh2p2voUegFM=; b=0/18ajUxoCaIImvDogS0fBbOzzz63xcI5U7KbtnmI+hUG8n+7tNqiinEWolHCxSVaV Fnq8CxaUz1nJohOPAlhCxmgXxFO+KR8MxkhGcjMWox+X0HbtiDg82S44W73AYsC9pNx/ VU1hrpKrGQ2Qs5ff82GlSVOVRLCYVlK+k5TIkYZnuNDrAgMwxxYQasSdhWtFI3oFThRx OybV/UXK9icLIYLfRQCVjP/h/o+esI8ls6iBpouDpjuZxUoERRCmARfe6eJllJ5IzZwR QvgFzSReEEwJ3gIvoX+FtRJeztU1PV/XGj6/9clIkptWoRLnOsnR5jndTbYNhPZqtJ6t dshA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si9761833plb.814.2017.12.11.03.48.52; Mon, 11 Dec 2017 03:48:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752602AbdLKLsv (ORCPT + 1 other); 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 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(-) -- 2.9.0 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) {