Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3117783rwb; Mon, 15 Aug 2022 18:33:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR4GwwteS2fjpLbVEzjcf9rdSIdSIL6fEyHR40IfpgrisA5cXK4qCAGyc8plbVZG5VaHuPOs X-Received: by 2002:a65:42c8:0:b0:41a:8138:f47f with SMTP id l8-20020a6542c8000000b0041a8138f47fmr16070482pgp.476.1660613579831; Mon, 15 Aug 2022 18:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660613579; cv=none; d=google.com; s=arc-20160816; b=bq2rYfPgU/hgoZtlWf5xGA7PHC5qDvvU78XUA91qk35281izsqkz4bd6wDCxqh3Zjk m7cBfWPIbE392o+MXum20qasVs21S7nXftJVI2VqyXxykI2ZR9wVJuR4Ub+xS2a/U6yB WXtpF8bOo+t/FK+hanQJFwy89E5AgWZWVSNbRIK4teAZhPsIwqNFprmeqob56w7OQvFh k/Vu3g32UV5qPG3zi68IQ8FjUbeu0Hz4a+hYq2e5G8vSNkWAIk85nDU/NaKCprfQoElv aSZdC05uFhgXwaTyz3oF3r2FkxpYB7xDpkpJmCoLRnubSZNCZbQwKpg6QYQQQlBpb0Iq bylg== 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=a2l90OP+6f1BRNvJgSl24v5mJ2vbXcWOEqsTT3i0lJs=; b=zuf1p8IjoxNJC6ZpxsRRw39Eq8/7Ca1YjtPEz7X+JoiqLCfVLteMJtqG4L8C/vKnRr z9VuN70ZB8FU2giflSX+li+7GiZFyizifB1gOyjEwOSDV+oCC4m1Cr2cNG9hyM6vL6U6 I9oPC6jFnH1a4F8b0lgZtI5TuKl1hXEfGMeebUPGuSsONxv6qB2Ci3ra52RuBdgS82DM 7eJgsb43B1ugrfDNS0ayM4EdFhCigmtEIQpsxLKQJ/sJO6iAQOfJye9Uby6OxibRp0rj aNfa66aAPUT/4tMO8hMrknEQy0TPw/nx+GYV4sD6b0f5+dqoATZnk5qyDxhj/z+vNdgF 77KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=w0oEbPMi; 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 b3-20020a170903228300b001708e1bb3b8si13234874plh.335.2022.08.15.18.32.49; Mon, 15 Aug 2022 18:32:59 -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=w0oEbPMi; 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 S1350436AbiHPAEZ (ORCPT + 99 others); Mon, 15 Aug 2022 20:04:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356600AbiHOXyp (ORCPT ); Mon, 15 Aug 2022 19:54:45 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23212162C57; Mon, 15 Aug 2022 13:19:46 -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 12435B81183; Mon, 15 Aug 2022 20:19:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59175C433D7; Mon, 15 Aug 2022 20:19:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660594783; bh=06VFarDkPU464UnbTOwMQsoTTF2JrCyJwdk9TgVmdxM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=w0oEbPMi9iZ8DqO+Gw80GDiWFvj48VhLqcd+d3ifzen99WZ6j0HrUlBdn3jWfABz1 NeM4YtM1RcxW8jH+2SFpX1x+QnbcyrjDrXytTeMObk7UCVH7VUJsRylbE3+sS/cdRC 4Im1ku+OSvyYBwCWmy03nV09ug1cl1dOH3KcH/Ac= 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.19 0558/1157] crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of Date: Mon, 15 Aug 2022 19:58:34 +0200 Message-Id: <20220815180501.929627362@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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 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.35.1