Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9228177pxu; Mon, 28 Dec 2020 09:52:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxINHLwC4ZiEhDqQRSUPZjYnrp/qZXgQa5HstjQkRLSVCwoAdYFuJwxCV/v69qVyu/OFI8A X-Received: by 2002:a05:6402:17cb:: with SMTP id s11mr41928158edy.119.1609177926836; Mon, 28 Dec 2020 09:52:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609177926; cv=none; d=google.com; s=arc-20160816; b=aNQZgq9KRpTyJ8ESpMI/VYFSWXQnoGvsuvfEeWsaXXJA3MREEwQtgFUWo14k4BuLGh 7FU1lo2FQfOVz9SoisA5BbiHxmGFXaRMcoZUeQW5ewOGbr6GPKiYRMK7dCaWjhLDf1Z/ FNEcStdh2Mh1rx2NllOxnaX4++XwrXN2xgd9FQpsi4g95pFAo5PEzw+4xH2isv0aFR5Y ozIsy5ZpKoTDVl6OxNikuJYD+E+9s55pfrZz9R4ryNqndcPGQqTTgQsU7oN9waeeolyI fpbRVRiApB3gWKcUtfkyCNYSzQjWQBLKSn/SYDfkmD6Zy6s9vZNMexjWRIQIM6h8EH0Q 56iw== 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=ajttrpxKaUltNwcbQ/mrGkQ76BzHsT0gHWHX9hDp/1Y=; b=GenMwW4NVVNjQYB68f4wXfUlrUqxcST/myfEgjYmSbdriBjGdF75IT0zjV82/UeqQt aRNpt5hBd3HbWz45ePQ/+P+a8Eu8aiaNg+20eP7TyP0kdN8HmWxhAyJvK09dseMKyD4n o2MD/y0L/LtkD3r/g8GOdCWuceKqVTQGGgaihrvGQ304WJ1lw/AoaLxwvOKI0+F5CWca juWs32uDDdBNq2T+fTBTHHFZu1G7j86deu0JW0ALJIeC4tQLMq22p/2uO67zlK0700Hn chmt1dSGq11AD5kSR1SzHGvyItJCsHWe0OiHxSuvewuVKQp1tE98brrCAlTsgCbUKMtY gWig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lOXweLlr; 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 o27si18234693ejd.738.2020.12.28.09.51.44; Mon, 28 Dec 2020 09:52:06 -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=lOXweLlr; 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 S1732778AbgL1NPt (ORCPT + 99 others); Mon, 28 Dec 2020 08:15:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:44056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732760AbgL1NPq (ORCPT ); Mon, 28 Dec 2020 08:15:46 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8C94321D94; Mon, 28 Dec 2020 13:15:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609161306; bh=+Cb/wO9jXs+HL2Z43UiRUVoYTUbfbptfW21HF6Y2sZk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lOXweLlrY8aBKdA2EFu7nvZP+sv3kH+zNuaKdiQZhl5Z5uQJhuX8pL8fy5lQEFbOy 3pyHJW3x7ffpPJ9Y4ZfzwuTuEyiKVdu4oAC1BIeZSQCsJGrSf0wZ2Bw33Qh6I0HUbh 0lc/zA1pZqa4b1ffbUUkTev8K/I3xJszEzgKwMOs= 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.14 140/242] cpufreq: mediatek: Add missing MODULE_DEVICE_TABLE Date: Mon, 28 Dec 2020 13:49:05 +0100 Message-Id: <20201228124911.593936418@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124904.654293249@linuxfoundation.org> References: <20201228124904.654293249@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 18c4bd9a5c656..993cd461e34c1 100644 --- a/drivers/cpufreq/mediatek-cpufreq.c +++ b/drivers/cpufreq/mediatek-cpufreq.c @@ -582,6 +582,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