Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3487915rwa; Tue, 23 Aug 2022 05:42:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR4uLt/gby2g7C5nMyeRoj2FfBx0sjyviI/KTDBHTr6CFcClreLqIsitu+X7YAWeqM4z2PH2 X-Received: by 2002:a17:907:1dcb:b0:73d:34f7:d39c with SMTP id og11-20020a1709071dcb00b0073d34f7d39cmr12934725ejc.600.1661258538401; Tue, 23 Aug 2022 05:42:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661258538; cv=none; d=google.com; s=arc-20160816; b=ADGBEFZK/8XJm5aabAmHyYj1B12mxWJHwtYUYETlm/RSP5RWJJsvKOhmD/pBCLWG41 BVRDMy47/70DfnKEqhlAB2ck6YVEwapAuYVVh2fPISDmS+JzdZf2g/tD0/1hsLW/+Ptm Hmqb/oWBnGLN+wHkG4mxBJrvhh6p5c/NPey1Zg+1jmbyN2O5RQS9e2q+FWiIFQf6OIHE pLQZkPybejOk4F7zD2GNWj8F3jacZBu7sOXUUO8+IOaPkOQAknCOyLbZSIBOovwaT+PO WFE7t5uiwGbby88qyZ1tFdg4uh9V8/4Prm4i5p/HSox+Za8MuvxFEuW8v1qQd4jF5POY Oc8A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Vr1LzLAr32aIHfbFqUd/nrFh2JVPYXFnkHKzffhD9Ho=; b=z/w3Gfh8s/oneXY5YPhTP+nxdQ3d1i745hF2MUOrAMzDFWwr+zZM0ZXGYzPDioFPh8 SjJigOKxjDgGtq6n6BHQR7RHf4G4XmQ1inZLeR5p2AAq1bejn6w0c+VtU6QHUijU1crz JWNXKFqyaSRemQ/swwq0O4oxSK8DaW39ouSuYV68+ojUbRKKpLreDFTmtLpvUnXGGK31 nsRAtBcx4Jt7IEmVEWkhrXYz+FHUW+BJs+6mp8R3ACMKY7YvlCWmfqHK91EnlLqxnDrb TFE9BcL15cIXr0AyjCpeXD214mmW865ExyuULgN4i8aas4rxQXVvFGQ8IpyJFyu5obo2 LbSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dPsy7Kse; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f21-20020a0564021e9500b0044075446a5esi2277827edf.579.2022.08.23.05.41.52; Tue, 23 Aug 2022 05:42:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@linuxfoundation.org header.s=korg header.b=dPsy7Kse; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357499AbiHWL0N (ORCPT + 99 others); Tue, 23 Aug 2022 07:26:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357614AbiHWLUi (ORCPT ); Tue, 23 Aug 2022 07:20:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44E588C018; Tue, 23 Aug 2022 02:22:41 -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 297F36122D; Tue, 23 Aug 2022 09:22:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 316C6C433C1; Tue, 23 Aug 2022 09:22:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661246559; bh=/DeAmAkZLsLUJ1rMm66Za+XJ3MYFeZHDpaX7It3ToiI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dPsy7KseuqVFp9lSZsvUsFzgdWmZ9iSaQc7TxDpJ/l6XPE17f8IMPTOItScEkNUgy baXka1ITKuUuZFRreQEBklwIw4DHSB5ehOtSCD+narLf6OdJHS5N38xPE2IEe2txRF a3MeuoO85H+KuWp7EQdcp0wGKm1RF9LK11rcIic0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Herbert Xu , Sasha Levin Subject: [PATCH 5.4 148/389] crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of Date: Tue, 23 Aug 2022 10:23:46 +0200 Message-Id: <20220823080121.786293719@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080115.331990024@linuxfoundation.org> References: <20220823080115.331990024@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org From: Pali Rohár [ Upstream commit fa4d57b85786ec0e16565c75a51c208834b0c24d ] 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 Acked-by: Marek Behún Signed-off-by: Herbert Xu Signed-off-by: Sasha Levin --- 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 4d9d97c59ee3..9534f52210af 100644 --- a/drivers/crypto/inside-secure/safexcel.c +++ b/drivers/crypto/inside-secure/safexcel.c @@ -1658,6 +1658,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.35.1