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: 10084613 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 8F4DF602B9 for ; Thu, 30 Nov 2017 11:07:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71BE029EB5 for ; Thu, 30 Nov 2017 11:07:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6636E29F45; Thu, 30 Nov 2017 11:07:48 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, 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 2E72529EB5 for ; Thu, 30 Nov 2017 11:07:44 +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=Zl9EvFEkKKBgaQ+ke+y7qVdh6MyygSYyF8lmisouCHw=; b=lFq 8K7u2pg0rCiFMq0wHEXw0Els5O6P+9VeALwmbw7aBUS/hn2raPSLUsLSqoIOha5ZkfXlcwYfW4fav 3PdAnZjKsViX7J05TvTVXMcoHvQd49PJRt2kCwemsOCKZR5seJ8Uw9JYBHxDFNlxNH3O9krwQumj8 XTDspCxCdI0Dx/0KznHX2uGSvV1tUOIu/fa+TA5fX/GK1Wrk2mTniG5dSjGI55sG7DZITkgOnKW7c 3/RrrRPs74BfL7FhDQ1FPhiY1DtXCv4oluomX4DlLimcr1c/M1lPVxJbIyR53q+YpsJA6fzLrTZrY s7wJdaVTDlncUfyWIpKk+l+HWr1h9fg==; 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 1eKMgv-00075h-T9; Thu, 30 Nov 2017 11:07:41 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eKMgo-000749-S3 for linux-arm-kernel@lists.infradead.org; Thu, 30 Nov 2017 11:07:40 +0000 Received: by mail-wr0-x243.google.com with SMTP id h1so6129354wre.12 for ; 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=dPhseUrETTWl/TSH+XAMl1I/D7O3qYNWXktpOYv5uqHhAhRdFsAmzqOH21zHj/920T oAnxqDgaMwwJJwqNZJ/LqyP4kr9YWAdFBylt1oV7OCQejTXh4rfTCvoPdFXEjymFqnBP g2vHh+XdUcbhkKM1kQki0H+080uiYRTIASnmerHJZErigmeYC4UrK2iPdlYG4njiSh9F xY8sWlW4BF0wKMM6xOR9OJbc/nWwVrNBSiFlC9NIpw74o8Oxgb2uY9BzmoDOUbGQrud1 jgoDAaplMg+Xq5c4y1lwkux1YUF2Ty3OnDHFLjvP//P2XsvU4g1FD7P+TMoEv8BLXKrb sYiA== X-Gm-Message-State: AJaThX7TJo7QenXo/D2ctDrHX3418sZNAt1blki1HjEY/gWTsJd71wzX E/zx1V+iV9hVDaY8F+em6TgfdhjX X-Google-Smtp-Source: AGs4zMaDTxxt/7KE2qV8y9mvqAT8DTmL79ylACGnE5cAlXZJz8xnyV2IOiQ+7hxMqoUvSvJfFkGlSg== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171130_030735_061865_CDEE58B8 X-CRM114-Status: UNSURE ( 9.89 ) 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: Corentin Labbe , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.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 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 Reviewed-by: Fabien Dessenne --- 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 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) {