From patchwork Tue Apr 25 14:35:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9698301 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 E49676020A for ; Tue, 25 Apr 2017 14:36:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C518C28387 for ; Tue, 25 Apr 2017 14:36:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B9DA02857D; Tue, 25 Apr 2017 14:36:17 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM 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 5967E28387 for ; Tue, 25 Apr 2017 14:36:17 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=maKMwkU7vZ31ttoq/mokuVjXZLwnnl8wNnK1n7azR4U=; b=CgjZY//rR5gnG8 jAm9N5dCF7NbkXbmUbyNEKLlqr7m1yWx+72PoEOTvHo1EhqDBjXkgDDZULEN2KO4rZMb+Xlsj4yFX 4G2k47jzC79e4pJDfCNCv+4mn61FGDvhTHdAY4qnUlaHnwrOceh8z9XJL02MRo9h1olkA68eAyav/ eLHLtiH46ePrlL6ve+6hT9pQ94dNJBvtbQ5XgIfa3HrwTOeoWyJG8hVKuBWvqXocZ0XiDoy9/xnTG /4A5iZwx/6y8NHCLsDtcJWHr5DVwdguTl7MU37uFxkN1v1YbuVWjJ3P4DkcGs82fCPLMXLLxCsG6y MvQ7/+DjjHjwAvpcPzSw==; 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 1d31Zg-0005aS-Qn; Tue, 25 Apr 2017 14:36:16 +0000 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d31Zd-0005OD-LM for linux-arm-kernel@lists.infradead.org; Tue, 25 Apr 2017 14:36:15 +0000 Received: by mail-pg0-x241.google.com with SMTP id 63so11738078pgh.0 for ; Tue, 25 Apr 2017 07:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1I/PM6oh4u46NJNW5DSVmBhPJ8BavJVfJ/V080xIf3Q=; b=vc5rwLOr+BCRqysRffazPp3F5BO2vX9kdqoIrfPQ4xxbCyMVptDoK2WdQSyBvgnjap fAoPz8oIZqL25tkWaHuTENUWAdzn0anhsORviOS2Yp95YXEhr6lxGOZL/kliXWbIXTOx yKf94tLp7m7gsEHqywO1bNMwuBQUPV0NP5gZWuoygBfQxHGgLvoqTeJacAa6a9vIkbji xBtkipMWoUzWh9AcEo7Htej3ST+H0q/4uh8rNjOUZYPTQCXCT+u7ajRsWflH7MN78D4k YEfPwsw701LcAFcmLRnoY3w3yJQMZWaEJJ8g3Dxr6Hl07aY8J4HUR5vgOl0bcS8PMIW7 TJPA== 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:mime-version :content-transfer-encoding; bh=1I/PM6oh4u46NJNW5DSVmBhPJ8BavJVfJ/V080xIf3Q=; b=DIQGk2oBddSslypIzJES7AMapb+5w3ZFpeVndGoi2pqjKRQbbvV0mhBAJv9IVBez0Q rm3hDxD75z88vxkWC1i0CrxQ6MWb2lKhvGMylwxHXV2Z6yrThUX9TMP8jG1u94KWQR1r fFAO2hM9OPStZEelAoO4qqUn7uP79r6pokwzu8JY3tM1QVoH728xoxz/OWO62+oZ1iJR 45w+x542v8gwdyV3ewsv6xAfQ3A16XRDdwKToyykkPIAMkxl+SGT/TRkF+VBBJ8KaKQN wbnFHMYV9mGgbaTGDp01G65+P3BlDKbuAcQ8bQ7SjxXwkFtLN8yA6TRQjFPgyeJAYFuz frWw== X-Gm-Message-State: AN3rC/7AziCp3Gf811OoniX2ldS2JIP9FFFBu7xiFJMM9NaQs9EQNN0l zuQ7AF8QahrkTw== X-Received: by 10.98.74.85 with SMTP id x82mr29055616pfa.115.1493130951726; Tue, 25 Apr 2017 07:35:51 -0700 (PDT) Received: from 192.168.0.37 (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id f62sm37133599pfb.84.2017.04.25.07.35.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Apr 2017 07:35:51 -0700 (PDT) From: Wei Yongjun To: Herbert Xu , Maxime Coquelin , Alexandre Torgue , Fabien DESSENNE Subject: [PATCH -next] crypto: stm32 - Fix OF module alias information Date: Tue, 25 Apr 2017 14:35:42 +0000 Message-Id: <20170425143542.1069-1-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.9.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170425_073613_734465_7E49C2E1 X-CRM114-Status: GOOD ( 10.16 ) 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: Wei Yongjun , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 From: Wei Yongjun The module alias information passed to MODULE_DEVICE_TABLE() should use stm32_dt_ids instead of undefined sti_dt_ids. Fixes: b51dbe90912a ("crypto: stm32 - Support for STM32 CRC32 crypto module") Signed-off-by: Wei Yongjun --- drivers/crypto/stm32/stm32_crc32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/stm32/stm32_crc32.c b/drivers/crypto/stm32/stm32_crc32.c index 7652822..ec83b1e 100644 --- a/drivers/crypto/stm32/stm32_crc32.c +++ b/drivers/crypto/stm32/stm32_crc32.c @@ -306,7 +306,7 @@ static const struct of_device_id stm32_dt_ids[] = { { .compatible = "st,stm32f7-crc", }, {}, }; -MODULE_DEVICE_TABLE(of, sti_dt_ids); +MODULE_DEVICE_TABLE(of, stm32_dt_ids); static struct platform_driver stm32_crc_driver = { .probe = stm32_crc_probe,