From patchwork Wed Dec 20 18:19:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin LABBE X-Patchwork-Id: 10126285 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 BD49E60245 for ; Wed, 20 Dec 2017 18:20:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6B0F28A2C for ; Wed, 20 Dec 2017 18:20:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB18529627; Wed, 20 Dec 2017 18:20:04 +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,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=unavailable 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 3C20D28A71 for ; Wed, 20 Dec 2017 18:20:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755498AbdLTSTs (ORCPT ); Wed, 20 Dec 2017 13:19:48 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:34344 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755902AbdLTSTo (ORCPT ); Wed, 20 Dec 2017 13:19:44 -0500 Received: by mail-wr0-f193.google.com with SMTP id y21so23082265wrc.1 for ; Wed, 20 Dec 2017 10:19:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=SKnD6eKdtcvt9i/M1CzHP0tMnj8mM7ZkDyB+3I6+5+A=; b=lAkUHbKkUa2a5YlKIzaocKmpNmwHDR9EF0eS8MJyKzPrd0HZ9wMqYEslK6dzs+EDR7 NuOjF09kCseyho6qPUnJ2W0YOy2VISZ2zUK5hszXiMiVW2fvGQtMilnG7FKMGv/MNkys i8nxx0Tgng6aUCjys4DfIghqkXSAIVfY0ILviAloz6vrvfVOANTeFMPN6+yq1dRlQS8k V3OnwCVUCO5Kqs7J96Uqn2gLOx965KMxrUgH7cvI5424+FThWaE1oaRKLWhOO2ZWBgQM 0N2zl/q6YsTNU0nqAGwZQiiu4K5BlARymemm/BPHC93dIDa6RMC78Do6nH8woMfPzPzH LO8Q== 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=SKnD6eKdtcvt9i/M1CzHP0tMnj8mM7ZkDyB+3I6+5+A=; b=g8Bt13DzIeeKPqKwGrPXNo6bFBZfyhsXxF5A0S1fzzDPCQe+ocYPzLKcNC7AmT/kjA N7oGFraW11Gc6Q8MrxVbqvyq0k6AxGkBmCgpi+XBJ5xcSJm1Rs/r5ZOSG1Khi5D4CHIA eB1vcftFg287ZCiPI0gHcITYy1IP/9s7ciXPeO0eFmJT6mPwd7g/NY1e52Pw4lYgxQDP gL3Ssbo8SzptOgCenkqZ4qwHwmhuqUCubClXf8BFdh8bQv/qCYlgUWmV4dKeyLX+eG2t sjg/rqElmoL9zhkdgHYvQGR38skHrhqurZXtSTHJTKOS9NzlNQaNFNOJTEKWQX2/qZZi dbLw== X-Gm-Message-State: AKGB3mKDHC/J0FDlAMt16VsVzHly4BBaDtTW9MoKLk6oniGFy1aiUQeD 2Q2SR4m96waXpdZG5gb6No96llMgsIM= X-Google-Smtp-Source: ACJfBovuB9MgwiZBN4qtTIPZcfd98OkaA3Ez3NZcZ9dhYsxpf/Jh5MTPo9VwXimi6g/5pB3QweZE4g== X-Received: by 10.223.135.185 with SMTP id b54mr9381542wrb.108.1513793982591; Wed, 20 Dec 2017 10:19:42 -0800 (PST) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id w91sm14000028wrc.79.2017.12.20.10.19.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Dec 2017 10:19:41 -0800 (PST) From: Corentin Labbe To: herbert@gondor.apana.org.au, davem@davemloft.net, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, lionel.debieve@st.com, fabien.dessenne@st.com Cc: linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH] crypto: stm32 - Use standard CONFIG name Date: Wed, 20 Dec 2017 18:19:32 +0000 Message-Id: <1513793972-11173-1-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 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 All hardware crypto devices have their CONFIG names using the following convention: CRYPTO_DEV_name_algo This patch apply this conventions on STM32 CONFIG names. Signed-off-by: Corentin Labbe Reviewed-by: Fabien Dessenne --- drivers/crypto/stm32/Kconfig | 6 +++--- drivers/crypto/stm32/Makefile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/stm32/Kconfig b/drivers/crypto/stm32/Kconfig index 61ef00b6bf45..63aa78c0b12b 100644 --- a/drivers/crypto/stm32/Kconfig +++ b/drivers/crypto/stm32/Kconfig @@ -1,4 +1,4 @@ -config CRC_DEV_STM32 +config CRYPTO_DEV_STM32_CRC tristate "Support for STM32 crc accelerators" depends on ARCH_STM32 select CRYPTO_HASH @@ -6,7 +6,7 @@ config CRC_DEV_STM32 This enables support for the CRC32 hw accelerator which can be found on STMicroelectronics STM32 SOC. -config HASH_DEV_STM32 +config CRYPTO_DEV_STM32_HASH tristate "Support for STM32 hash accelerators" depends on ARCH_STM32 depends on HAS_DMA @@ -19,7 +19,7 @@ config HASH_DEV_STM32 This enables support for the HASH hw accelerator which can be found on STMicroelectronics STM32 SOC. -config CRYP_DEV_STM32 +config CRYPTO_DEV_STM32_CRYP tristate "Support for STM32 cryp accelerators" depends on ARCH_STM32 select CRYPTO_HASH diff --git a/drivers/crypto/stm32/Makefile b/drivers/crypto/stm32/Makefile index 2c19fc155bfd..53d1bb94b221 100644 --- a/drivers/crypto/stm32/Makefile +++ b/drivers/crypto/stm32/Makefile @@ -1,3 +1,3 @@ -obj-$(CONFIG_CRC_DEV_STM32) += stm32_crc32.o -obj-$(CONFIG_HASH_DEV_STM32) += stm32-hash.o -obj-$(CONFIG_CRYP_DEV_STM32) += stm32-cryp.o +obj-$(CONFIG_CRYPTO_DEV_STM32_CRC) += stm32_crc32.o +obj-$(CONFIG_CRYPTO_DEV_STM32_HASH) += stm32-hash.o +obj-$(CONFIG_CRYPTO_DEV_STM32_CRYP) += stm32-cryp.o