Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9443159pxu; Mon, 28 Dec 2020 16:44:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcRJyS8UQVkzGepQDrrWwz56GYalM50MKIRmptLnghasAS9+jHfEsLAr2jpH9kuIZIZslU X-Received: by 2002:a05:6402:c83:: with SMTP id cm3mr44091696edb.189.1609202676143; Mon, 28 Dec 2020 16:44:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609202676; cv=none; d=google.com; s=arc-20160816; b=RNCTnlJysmx5IRX8D5CWG4TyTtWYEF6rhwvUXPAFCp1hpj3V87SxVqlJP/P06/n3st 6TJL3AXz1QQgSI+lEqnTeEjuQqmDIUDMBNtO4dNteP4jhtwPkFRoeKdQ+dFzSqPO/PmD 6yL/lug2CyxXVQW8U256Rhzg2Q4UJAR+0L7LItrplce58gzvCIBRx0v5I2iEw5UPtsU3 Ww+ZlqQCGuAQg7DOR4fDjtg2dhfkrbwU083fmEFL2PgWOh3w5D5wL1u+i4/KXxat5HRw ZyDS8yrRSaSgCdvzasPGtSBBH/ZK8BIfOE0EssjbyzqPA6RtQg8odPq3NcywbiTaclnk RwzQ== 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=P+VM6fHfaVlSbpNjvojXysqdinO2wjkLjQEURgCfmFk=; b=w698Fco6f14tGbu0MOV9JBTYMAiktqHA8QctaMi1dEcJyIEZtWajRXmWzA5yHuoRtA uejBfuekKi4zolEMsyK23yWuIoAORb8ylP+MNUz/zNZe5Ll0eUduwFr4uQcfhy3/Kzb7 KgpkuDeWUsuBLgB8Nppwrs371EnUUoenXAdBgYQt1b6C7DxqzRbiHcXYYU5t8UoSCfja IUWol8iWNdcT+8oqe4hayDOtQvhYmlBPvZrcG+6wabjFweJTAtwWK1+GrOsfmHIHlDCW 3d46Ky6+DRt8M4GsWNM4VnLS01QWVOvXVhzsA2u8LZW5pZk9ST99yqBZxdjIPTIq3q3Z 1sfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eQNZes8o; 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 bm5si20393835edb.21.2020.12.28.16.44.14; Mon, 28 Dec 2020 16:44:36 -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=eQNZes8o; 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 S2393142AbgL1QCs (ORCPT + 99 others); Mon, 28 Dec 2020 11:02:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:58762 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390206AbgL1N3y (ORCPT ); Mon, 28 Dec 2020 08:29:54 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id EBCE2206ED; Mon, 28 Dec 2020 13:29:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609162153; bh=4PNELHKvZqWMR22R2Jp3DGWJ7KroiDRRE6Gj2q2rBaI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eQNZes8oW0XOtmrHVp4DQCWdpebVNhEYvVZI6dp5ZRaIMWWjKqZxtfAPWsTXpr+wJ WahC8s9N7+UFxt25z0KdrbyMM/Qh0Z4Hig5Kc6IBcK/13EnBlNo0VjsVDDBfIaBN+2 to/+oFNUE9KMBDXZRhek39BQkPTS6hzTdNAtUlNE= 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 4.19 205/346] cpufreq: mediatek: Add missing MODULE_DEVICE_TABLE Date: Mon, 28 Dec 2020 13:48:44 +0100 Message-Id: <20201228124929.700572278@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124919.745526410@linuxfoundation.org> References: <20201228124919.745526410@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 af6eca06501118af3e2ad46eee8edab20624b74e ] 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: 501c574f4e3a5 ("cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC") Signed-off-by: Viresh Kumar Signed-off-by: Sasha Levin --- drivers/cpufreq/mediatek-cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c index eb8920d398181..5a81e20f02824 100644 --- a/drivers/cpufreq/mediatek-cpufreq.c +++ b/drivers/cpufreq/mediatek-cpufreq.c @@ -554,6 +554,7 @@ static const struct of_device_id mtk_cpufreq_machines[] __initconst = { { } }; +MODULE_DEVICE_TABLE(of, mtk_cpufreq_machines); static int __init mtk_cpufreq_driver_init(void) { -- 2.27.0