Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2874498rwb; Mon, 15 Aug 2022 13:05:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR4a2oSsE62jTbOKP3u96N8qrJIX+ZKHnkt3QXhCHXyz2OI2xsBUoWGZa58LzPPZEI3ssbHu X-Received: by 2002:a05:6402:22bc:b0:43d:73a7:370a with SMTP id cx28-20020a05640222bc00b0043d73a7370amr15734264edb.120.1660593912331; Mon, 15 Aug 2022 13:05:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660593912; cv=none; d=google.com; s=arc-20160816; b=GzGyzZEv5FoE2MIvvzbuTjPgoOUhKTaGkp4Rym6lcv74d3QYBogsFYt2DtXxYp3J/6 OY2QF0GiB9NQ3EVxbbh7rmtNP0wGe+jwQF8TBKhso7wmNvmoOOMGE6weJHE5RVB5MB6Q JMwQtk7znoHhJUuJe308yjgZl6AL30KHTfFI+6j1pgt/KOeGYV7hPGDALGz+nyMBqK2/ Zn3TyvocwE2WizuMuH+k1XlaCFC1n9bIblTa7i8UHaubmUJ9ewK7tsMrSAi8anUmvIVp 2GOd64T61Mm5kqIc1I67iDolvvKzWe1h7kYDDl/v1oP0P3bMhwgReSYXjfbe+qU+0lf6 noLA== 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=Ir8eCCm9oz1gDsa+eNU3G6V3uL9LhrLayXuWO6zLyBQ=; b=ZC8/KkSZPU5Fr1tH8XFKEPZj4kwG6JmfaMTyzxze0j9OJJPSSsYVtri1+WKJI1/CzC 0UTQw2CiUF/EfKkZJ5siVkFY4qBozxQIpTNbQGZOlM/wLJB1lGECxdCog1sH5GjtuKQt OwAQ2zmZyjcQhbAgOHCayWJ13U0mYPvQLZTbdWlqaYCirAUE1RyNTbLeHY55k12F0LUB Hf7vjgl7Xqwsr8CSx8on6+QSure13dOyRMoeJW29zfacRxUYmp0iEI0AZObf43eQtueL pCb7LiecV0PeDIvh80KYp/ouns/NC+2rTFB9H+e6DBIKveSvhqgakTAqJwc9u1EWO3Eb eAdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WdYuKQxI; 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 t26-20020a508d5a000000b0043ac5ba36easi8047589edt.419.2022.08.15.13.04.46; Mon, 15 Aug 2022 13:05:12 -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=WdYuKQxI; 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 S245259AbiHOTDv (ORCPT + 99 others); Mon, 15 Aug 2022 15:03:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245313AbiHOS5N (ORCPT ); Mon, 15 Aug 2022 14:57:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A435532EEE; Mon, 15 Aug 2022 11:32:23 -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 ams.source.kernel.org (Postfix) with ESMTPS id B16DFB81074; Mon, 15 Aug 2022 18:32:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDCD8C433D6; Mon, 15 Aug 2022 18:32:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660588340; bh=E9Bqs6DXdhLdrqZtlcaeECpgCsSG1vqbp0DxY58K9A8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WdYuKQxIim8IgKFZIPjDgSUV6H/MMmWEObTv/520DxgInzQ6K9ZJTiHOemtXPXfC/ YipN2Mn0iaDKpwdmLn7h3qIYLHjPfvbzyOvNMRDXKHP48YhsyO9/Ux26TQPhzsez7E PB9VsurB/xQ6A8k4njgXFRg+lfuIebQ+mojHwhd8= 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.15 372/779] crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of Date: Mon, 15 Aug 2022 20:00:16 +0200 Message-Id: <20220815180353.171920122@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@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 9ff885d50edf..389a7b51f1f3 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.35.1