From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE156FA3740 for ; Thu, 27 Oct 2022 16:57:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235993AbiJ0Q5h (ORCPT ); Thu, 27 Oct 2022 12:57:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236153AbiJ0Q5g (ORCPT ); Thu, 27 Oct 2022 12:57:36 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BF5417536F for ; Thu, 27 Oct 2022 09:57:34 -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 sin.source.kernel.org (Postfix) with ESMTPS id DAF90CE2750 for ; Thu, 27 Oct 2022 16:57:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD305C433D6; Thu, 27 Oct 2022 16:57:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666889851; bh=jG79j4f3LnQpXfbWBsh1Yi9JAt+1WZGh5W+g58hE9CY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m87oziLT60UOiR+lLBq0PiUgEY/ToJggDWREH+sE2h98lk4Jvx5C9QiFIgtD2IpoH XDEokPKVKcx/Bm9yoaqnPgeze03rTkvsQvGrDD3I+FzfF7zM2S9DiKSOjQe+9aHFRM jrEgtFgqZOoqBa5kB27o9ier+xpnw5ZrfYis/yNE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jon Hunter , Viresh Kumar Subject: [PATCH 6.0 08/94] cpufreq: tegra194: Fix module loading Date: Thu, 27 Oct 2022 18:54:10 +0200 Message-Id: <20221027165057.481527787@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221027165057.208202132@linuxfoundation.org> References: <20221027165057.208202132@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Jon Hunter commit 1dcaf30725c32b26daa70d22083999972ab99c29 upstream. When the Tegra194 CPUFREQ driver is built as a module it is not automatically loaded as expected on Tegra194 devices. Populate the MODULE_DEVICE_TABLE to fix this. Cc: v5.9+ # v5.9+ Fixes: df320f89359c ("cpufreq: Add Tegra194 cpufreq driver") Signed-off-by: Jon Hunter Signed-off-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- drivers/cpufreq/tegra194-cpufreq.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/cpufreq/tegra194-cpufreq.c +++ b/drivers/cpufreq/tegra194-cpufreq.c @@ -592,6 +592,7 @@ static const struct of_device_id tegra19 { .compatible = "nvidia,tegra234-ccplex-cluster", .data = &tegra234_cpufreq_soc }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, tegra194_cpufreq_of_match); static struct platform_driver tegra194_ccplex_driver = { .driver = {