From patchwork Thu Nov 30 11:04:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 120134 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp519708qgn; Thu, 30 Nov 2017 03:07:16 -0800 (PST) X-Google-Smtp-Source: AGs4zMZVONffQUI8dszTjDOgS+TqRtW7Dcv1k2sHzWBp/j0AyrrzK2sSzk8JmUKSMyFHLjFeblyZ X-Received: by 10.98.102.74 with SMTP id a71mr6197030pfc.184.1512040036148; Thu, 30 Nov 2017 03:07:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512040036; cv=none; d=google.com; s=arc-20160816; b=BmWqnUqYZFHW2guDkSJdvyxmgS+Ix+tFBtuOgk4cZhgpA6q8ywrPNWPT7UavR26mqi SPTRzaqXP25opPvTPfNEl1EcCA0x48Ue50taGUtdazYPMo7mwF531XBz1KSVlL+yeF12 zysGeEmrrFwdsJCxLvA3K5UolUefjPlejfReULEWgKXKqmfADQVbeFRoKkcOELNzm4U6 CGzj+jxPFvTDU3oXq7vCTEaf8u/578QtEQDY9rpdaUsS4fSiD74XzdXM9ZbX85uoVv+1 hNEB/pK50CIE2VOklwnR16o73mLcrno56BMUr5yS8LWmWQJ/4R+zxCLNnuCvGIGG+TLS gNcQ== 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 :dkim-signature:arc-authentication-results; bh=a2FhBb6u0kyFbrTsFP40NteaHY9uPekrHcDcA8UQx2Y=; b=YbU3Al2ALzvl0yWys4iTezJ9cyy3yeCqV8Xr/e+RKopzA/5Ntuhc/UI+y9iYAbI/QZ 4vlS/vYaVFxv9rZBYLGsyODFY1Gx9WCe5ROEbhgbx3d1CSdrK+4hzXrMZS7mnZHVa5T+ apXzYqhA919IP4lpHvSIDhmYJDxVttB4aDwslOM1Y3kzxiankvrsSbl4raePVMdcT5L1 hsei5xgwlczLA8Mhq+yVSLy/+n1Ixrx+roLfdEv2VLqeTZrivlD4BfNxfaEzF4srOObm g8v71forgc+eyAlMiUPHY885/wN3VLWFDpKZtrdVizbWQHIJkgjDLM1RAbSIpLq0EOsd XfRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WcOd4X+H; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h82si3091030pfa.196.2017.11.30.03.07.15; Thu, 30 Nov 2017 03:07:16 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WcOd4X+H; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752348AbdK3LHO (ORCPT + 1 other); Thu, 30 Nov 2017 06:07:14 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:39442 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750891AbdK3LHN (ORCPT ); Thu, 30 Nov 2017 06:07:13 -0500 Received: by mail-wr0-f193.google.com with SMTP id a41so4278808wra.6; Thu, 30 Nov 2017 03:07:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=a2FhBb6u0kyFbrTsFP40NteaHY9uPekrHcDcA8UQx2Y=; b=WcOd4X+HhQWLdSIB++J6p3LXYoFPafCc9s794mBotqRD3S0Gp0YUMbK5vjWPNXW65P cA5ZyL0vBoraAWlk339N9zFvKdql48GJn8VuJpt9mBx1fxr0aDMSvntubZJf8yXWQlxQ 6/biiYRebDIQApXsEN5Us9CSoAVN2gUvRl4zhxpdG0a8hlxzEKwCnmjC3+mmTwi2YHOY 85+wQkOqdEarYUDRPQK5lbangYfhZxJ58vfA1TIzw/sr49RlW67XLiDpWW63d/Kn3pP4 EtrJ5FR8Tk3y/pNvuMZPuYV+eHv7w1kgD30noOmVkNEZfnSeWx0qDdkgeL8i0KdmMEpz rMDA== 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; bh=a2FhBb6u0kyFbrTsFP40NteaHY9uPekrHcDcA8UQx2Y=; b=KRc0ExBpDlc/ex2ay04lrDc7NJZWWFwjFMBYgrE2k+BMKW/AlG7lZNYFThuRYCjxfn xCP9mgzDfJgJ/JhH/OHANe8/y3AVr7lTVGHmSxMzbvvFUKpy//vsVyFyxDr/B6SSeCLn EFmtJkMqYwC7vOsiAiAliTxQJiHd1EzX/SkYWiGLXF6hruwGzsOrLuzs4UVnrvej8NkF SRM7NvTLI5X1q++ZSf/1ok00NB7o3ofpXf8lfe9paFNo45SV3V1i8zSaCvu69JWsnD/V aY8CSl62ahtxZMvidre3ccJexVPq5UwvnVrTxgkz/jt1HzllAmsUk8WNR6YqSi7lAJaJ FbqQ== X-Gm-Message-State: AJaThX7DTgD4Yzwp9eeWKou6MpK8xwH0PAYQXoozMe4xCchHCpUIqlbf ljfIyyyLqMzAxomE9JFuQDA= X-Received: by 10.223.139.73 with SMTP id v9mr1792155wra.77.1512040032539; Thu, 30 Nov 2017 03:07:12 -0800 (PST) Received: from Red.local (LFbn-MAR-1-580-204.w90-118.abo.wanadoo.fr. [90.118.159.204]) by smtp.googlemail.com with ESMTPSA id e40sm2656632wre.6.2017.11.30.03.07.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 03:07:12 -0800 (PST) From: Corentin Labbe To: herbert@gondor.apana.org.au, fabien.dessenne@st.com, alexandre.torgue@st.com, davem@davemloft.net, mcoquelin.stm32@gmail.com Cc: linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH] crypto: stm32: fix module device table name Date: Thu, 30 Nov 2017 12:04:33 +0100 Message-Id: <20171130110433.15811-1-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.6 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patch fix the following build failure: CC [M] drivers/crypto/stm32/stm32-cryp.o In file included from drivers/crypto/stm32/stm32-cryp.c:11:0: drivers/crypto/stm32/stm32-cryp.c:1049:25: error: 'sti_dt_ids' undeclared here (not in a function) MODULE_DEVICE_TABLE(of, sti_dt_ids); Let's replace sti_dt_ids with stm32_dt_ids which is just declared before. Signed-off-by: Corentin Labbe --- drivers/crypto/stm32/stm32-cryp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.6 Reviewed-by: Fabien Dessenne diff --git a/drivers/crypto/stm32/stm32-cryp.c b/drivers/crypto/stm32/stm32-cryp.c index 098fad266c41..1807789b23f5 100644 --- a/drivers/crypto/stm32/stm32-cryp.c +++ b/drivers/crypto/stm32/stm32-cryp.c @@ -1046,7 +1046,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) {