Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4174932imw; Tue, 19 Jul 2022 00:58:15 -0700 (PDT) X-Google-Smtp-Source: AGRyM1un3JFaj+qIiqWEr/p3PpKTtFgxN1N2tqW0IEN7CYd14hkSQ5qnxsLWhEnqMS+TxwrgCJ/L X-Received: by 2002:a17:907:75d9:b0:72b:1472:ba19 with SMTP id jl25-20020a17090775d900b0072b1472ba19mr28644963ejc.657.1658217495038; Tue, 19 Jul 2022 00:58:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658217495; cv=none; d=google.com; s=arc-20160816; b=D83Cd8d8Z2L31hPqcYKQKU0iw0pzYpGd1bf1jAmwO75xh2qIx9Nc6JIF8fZB1/Gh66 RIU+gRE4sthGBPwKc/NRp7yewcNlN+yNGx/sdhOUz72Qv0UsOgKS8jBC2z/djp15oP23 NjG7ucy0k2CFzVrecedeA8eUdTFF0mR96pu7PtV1JPH5qnVnoXXgM4HeynhNHdnOkcpN HmesRMKnQoYC/W6pxeYfDRh1ZS/W0tjcsT0VPebU4vND2q7ZZ0tVUK3hjz8p6ZJKupDk Wo8CIfYh6dtz0CfeGtywmopKLxSuq0OFCAgu2FM55H+nCnoQ60Itkc4Lm1j/b4j1ZOp2 ma9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=YoTmUm+SQEN3cpEMqvcdSSdh1PFz28cyKP9nwzewMHQ=; b=W9K6rTt5XALNYHiZ4OEMz/Bqh83dbhDdVPXl+b7gaiRmKC1ESuwZdf1ooYUiFlvjN0 X8vyFhAzbJwh8CI+pEwf/ysgFSi2qLFXVc4wgt1ksB8llKfVu6dSNyk1+NQKYo/0v6ix syvGyYSJYA8ANyUPt8/opTj/uFltlCP/ihqn7U5LiDoAUEegRmTqiXumCTIHfVfsOOAd Vp5rXUV2RtJ5UQyErO9fc+fs5+22Zbm62WLBhjtylsuZT5NC85sstsbR0P0vQZKFxzv0 JIfj75CbScgqH+bHFESZNffMZIuCWafbb3K+T7TfsjvlG33QI0tQCXU0JrO+Uv4tTY7Q iMAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C9T23g7E; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q19-20020a170906541300b0072b1b099d55si15508926ejo.268.2022.07.19.00.57.37; Tue, 19 Jul 2022 00:58:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C9T23g7E; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236134AbiGSHyh (ORCPT + 99 others); Tue, 19 Jul 2022 03:54:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233997AbiGSHyg (ORCPT ); Tue, 19 Jul 2022 03:54:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CAF227B1D; Tue, 19 Jul 2022 00:54:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8D6AC61709; Tue, 19 Jul 2022 07:54:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7467AC341C6; Tue, 19 Jul 2022 07:54:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658217274; bh=R+wXBIQRVLh28YERmpCcfYhCxcU9Hecpmr9sKbwPJKk=; h=From:To:Cc:Subject:Date:From; b=C9T23g7EQtTKTNxKNwJIZYmL78BWvTAMeXeuJtymIM4xXn1xWIDbiaKRrFPYtT/lL r6yz6PBrlqiy8SfEW0jam111KimxiNbUkCjSWC8LN7fnnU+X/zpry8tHvf0KjELdPE Toag0RCG++L3FNnSOp2y4+7bpn/ExdQjoyoiTalHZOZzkZoOAl6ifbycjkpZRMkC5R 5I8Y/D/rj3+JPePNYPQiy3UcS43egufeQZ5igAwAi7eoaD7RCEk0WCfeMsrCHulUOm 4mL2eMoNaX7+oJuDrzqraLqsOMVXAWxFiek4O7zdaL1c6eXOlKjvTqotOAfWCRVRJ3 9JTsp2AjdQNDw== Received: by pali.im (Postfix) id 949FFF3C; Tue, 19 Jul 2022 09:54:31 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Antoine Tenart , Herbert Xu , "David S. Miller" , =?UTF-8?q?Marek=20Beh=C3=BAn?= Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] crypto: inside-secure: Add missing MODULE_DEVICE_TABLE for of Date: Tue, 19 Jul 2022 09:54:03 +0200 Message-Id: <20220719075403.15379-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Without MODULE_DEVICE_TABLE, crypto_safexcel.ko module is not automatically loaded on platforms where inside-secure crypto HW is specified in device tree (e.g. Armada 3720). So add missing MODULE_DEVICE_TABLE for of. Fixes: 1b44c5a60c13 ("crypto: inside-secure - add SafeXcel EIP197 crypto engine driver") Signed-off-by: Pali Rohár --- drivers/crypto/inside-secure/safexcel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/crypto/inside-secure/safexcel.c b/drivers/crypto/inside-secure/safexcel.c index 9b1a158aec29..ad0d8c4a71ac 100644 --- a/drivers/crypto/inside-secure/safexcel.c +++ b/drivers/crypto/inside-secure/safexcel.c @@ -1831,6 +1831,8 @@ static const struct of_device_id safexcel_of_match_table[] = { {}, }; +MODULE_DEVICE_TABLE(of, safexcel_of_match_table); + static struct platform_driver crypto_safexcel = { .probe = safexcel_probe, .remove = safexcel_remove, -- 2.20.1