Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3088593rwb; Mon, 15 Aug 2022 17:51:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR70m5sJbixPSnoBCmKz4k1NxEBKLDYYDePvWAU9GCdoWWBLHChVg1pfcg5sT/Fqpy4CTrn2 X-Received: by 2002:a17:907:72d5:b0:731:6512:ad with SMTP id du21-20020a17090772d500b00731651200admr11606921ejc.739.1660611060185; Mon, 15 Aug 2022 17:51:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660611060; cv=none; d=google.com; s=arc-20160816; b=r8nKpRRuHMY9uXwqwZW73hm23bxX+0P+3TZsUj3h7/tcNetzv2UkqABkH1v8PXKl65 aztZF2u7MKL9ssXPpfWjtjc2djeuz7fhMXyKJ/YnFNdAYHLQJrwS+YM/+jgPcBP74TPD SG/9cV0pqcntcAIPlPC1I7ly9aV6MRh1wp7TG4NKT4XkoduvZnxnDQHe3e5nzH8fdXgi A1tHKC0QGjTe42Gc0txYtbJF4T5Tt8YiYcVQoZdib3OOgnlFEXgwdjv9Vz/50u71mZoy VwzRGa1qwjwdqD6IGizA99YnuLcdClqQJZ1hkhsSQKoGcvOGf48EM6J3Dcd+CPkspFED ifqQ== 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=ck9d03+HTyY68iBOH1sSr87tD1juPJj4zKSRLw9ce9D1yHVeBZr4bJBkLH2eA/L2wS Sedn2lyGtL/vWtLPz7c/igFhrddsc1oiaoFHCcxMIkwY0cQUFHfW2vuz5Qc+sODTVQDk NirUFLd8jHvolcO9ipUi9XUgyYdVh/crzuOG252w/yq/lArfJGx0dOhqHDQu+gZ152FK Tuk7W1e9bk8nzXH0pTirYUTyGddzDRop/UefWVfFZcArTa3O1DOYzkImfGAA3szDZK5m +zFKitI9hh5yyS4OZbFRQN2Dp24UVM9PQmqwXHkyJibUa0UoJOeTKNGiT9wEg60JJoxf zoZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="NGy3T/e0"; 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 g20-20020a1709065d1400b0073305d6f696si9418148ejt.954.2022.08.15.17.50.34; Mon, 15 Aug 2022 17:51:00 -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="NGy3T/e0"; 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 S1344628AbiHOVYE (ORCPT + 99 others); Mon, 15 Aug 2022 17:24:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345261AbiHOVRn (ORCPT ); Mon, 15 Aug 2022 17:17:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58AE258B67; Mon, 15 Aug 2022 12:21:00 -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 928466100A; Mon, 15 Aug 2022 19:20:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EAE7C433C1; Mon, 15 Aug 2022 19:20:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660591259; bh=E9Bqs6DXdhLdrqZtlcaeECpgCsSG1vqbp0DxY58K9A8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NGy3T/e0eSTu29QzuCs156o/8pxVdEnUeHVGo9NQNqS/om7NjaSC+HDvnjvzJPZz7 8Sv5yuNne73ShxXyRQcHUuIA2J2tol4NOCAf7fnqvNwbrat9hFhSxkmeVQbVKsZd36 snY3zoGjwwXt1DqDz1V8RiulxYbPhkQWNltV86gw= 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.18 0522/1095] crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of Date: Mon, 15 Aug 2022 19:58:41 +0200 Message-Id: <20220815180451.152236045@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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