From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53F678486 for ; Thu, 27 Oct 2022 16:57:31 +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 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 = {