Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9271276pxu; Mon, 28 Dec 2020 11:01:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKGs5ARNdSBWn8SLqXYwvFYNP4TdbKPk6Bn6XdfI+x7JDSZ8zI5Uho74f0IaAyySirmCCz X-Received: by 2002:a17:906:81d6:: with SMTP id e22mr43496956ejx.476.1609182073958; Mon, 28 Dec 2020 11:01:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609182073; cv=none; d=google.com; s=arc-20160816; b=CZ4GFJWP3ayTsUG6co0T42bw629QxoY2S1oiOvgvb2K+81cZMQarBAvJGeExXNDUmD kDVtxUEt8mVIoBbUp8btPVTBw4zjEYHfO8He+/5kmTd46wxCXfAv9DV3kkIw0AxwIiEx odm1OSG8jzLengCzs6xnYB4G+RWanN3AZdkkit+B1ym0krN7fjp02Ef2EFfSTZ/J7jSj ZlmkbSw0tHEUvuNoZI+BeV6rhb2XdjylWrQp+XnplJOKdsJY1hsRWsKarJ+/5rSyVnr7 yPaVng1okqcWv+GNefLqc6LPz8aucVLOdaFx4XGyF++vxKwYqVY3ghKwtEJl2QGo+RPi C1xg== 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=68exMBn+FMW+LCnt7pVk9jqFyzkcHj6/38mIG51/VHU=; b=CG+TnSv/ShxkMuqbA57DmZQNwdFlGKCwGcdp58P7vifTUxNSumqmRaaefaO3j50W3u 7/yNdp9SnIly04VUR7T/kwsIgvpLvgVVD7BhKLVNxLLdStJT82ApF2GxwwJ7mmvbV0XB VL6D4m/+3TVlMoSnwvidT026p+CvNuxo3OsZl0NUwagU4iVZ+Q3e8bnhP1MBxw4LcP6n JSbE9kGg4zpJH+46yIruU9o0zK29Oiu0xIkAgBJ/1gBemn0NCoIHOMRd7VLXI0Whw2QJ JB+mv8csWJrDY6nwNfk/syo/wvuH0cfqWv2o298/Hv9dOGjlVBa0gl3n7h0LQ4qLabA+ 7VQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zuxm8wQZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x14si20649463edq.88.2020.12.28.11.00.51; Mon, 28 Dec 2020 11:01:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zuxm8wQZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2405954AbgL1Nso (ORCPT + 99 others); Mon, 28 Dec 2020 08:48:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:50238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405939AbgL1Nsk (ORCPT ); Mon, 28 Dec 2020 08:48:40 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7B88020791; Mon, 28 Dec 2020 13:47:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609163280; bh=a6z885ceL1tcUwSB/HXTcwgUfXsJizi3Gfo2fZO/epQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zuxm8wQZxs5SuQylQtWOoLOqPw/P+RqcCy79zBcrsxUPHDx9uOn12ENX2B7yH5zJb AoR5IU+3gbYhqc56UdbVk8mLFNL//UMzzERN3mpOx1qL58uXMRTJs/A2ZlWWiEZeo7 4pgYSpPc1TaIvLpNbSLCciOm4UwRoyKPaeENPOAM= 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?= , Viresh Kumar , Sasha Levin Subject: [PATCH 5.4 231/453] cpufreq: st: Add missing MODULE_DEVICE_TABLE Date: Mon, 28 Dec 2020 13:47:47 +0100 Message-Id: <20201228124948.338529892@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124937.240114599@linuxfoundation.org> References: <20201228124937.240114599@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pali Rohár [ Upstream commit 183747ab52654eb406fc6b5bfb40806b75d31811 ] This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this cpufreq driver when it is compiled as an external module. Signed-off-by: Pali Rohár Fixes: ab0ea257fc58d ("cpufreq: st: Provide runtime initialised driver for ST's platforms") Signed-off-by: Viresh Kumar Signed-off-by: Sasha Levin --- drivers/cpufreq/sti-cpufreq.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpufreq/sti-cpufreq.c index 2855b7878a204..7ade4070ca827 100644 --- a/drivers/cpufreq/sti-cpufreq.c +++ b/drivers/cpufreq/sti-cpufreq.c @@ -292,6 +292,13 @@ register_cpufreq_dt: } module_init(sti_cpufreq_init); +static const struct of_device_id __maybe_unused sti_cpufreq_of_match[] = { + { .compatible = "st,stih407" }, + { .compatible = "st,stih410" }, + { }, +}; +MODULE_DEVICE_TABLE(of, sti_cpufreq_of_match); + MODULE_DESCRIPTION("STMicroelectronics CPUFreq/OPP driver"); MODULE_AUTHOR("Ajitpal Singh "); MODULE_AUTHOR("Lee Jones "); -- 2.27.0