Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9270992pxu; Mon, 28 Dec 2020 11:00:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJybDqRNrsVC0XYuifE+zIfOs3+Ao0dsaGCpsBPNAl+wjyoqNZrpcxEjYZ4Hdcb7dxkv2vyb X-Received: by 2002:a17:906:cecd:: with SMTP id si13mr42411478ejb.441.1609182054059; Mon, 28 Dec 2020 11:00:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609182054; cv=none; d=google.com; s=arc-20160816; b=HZerd2YW0PEAA0pkVsg/hNh5ha+O1XoDRzEAy5GeUkg6RpAAqdVLEDUMy9Nay9fWLj atV90OxGhaZr3j67BVTTR29AstRCeXE8k9G1BZgrTffgOyX6sTBHYrXN6f+vko8e7AjZ Kw2w13aMe3riDvHsa+LrHqFAx8OkqoJdeWxnP9n8a3wEGTSIqxubz3u3yuHVyjYgPwQZ R5rwRC5Fx5HiNXez5mCCO1+xOOfP1w2YU54Bdu+6cq5joktzIUQxsBrV+leuVRd74JWn kKGyulwXD/USy9GKyJHQlsYAGI9I6JzSjLQaP3rcnB42bs4z4LG7VvsoKODeqNFCGGKq l8Mw== 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=L30rVePMPa9xw1mH6cj07lWtQqSVW18/FrmjdZ/I3AU=; b=h+tcETkVFjyOtY0j5hGR+rhbXeSScxBVFAOQ7gy6NvA4LUKR2sAapOL1Hyg+lB0LXL eEqWDvsFZkq3Rv6aAMw0jzxKpKxLTnuvfzVqs8WG+jzHEk6Afp7wc6YQCPrsF/WOvomh 6dzC3kVjXu1XBqrlEnxclTxeYRUEqntwEnLdyWAzypyuinKYxuzJ25zX5F9N1coR5Y64 xobXPZ4ospK8jHqA/3bskXNHa5jBke0Aq8l+rEDXlCpzV9P4jgc5GiuWD8fz3iA8OC7b k2Ohk68IjmqgTV1KSXlSjVSc/g7aZiscPfgSTn7E4DwsvZV2w+VZbuwCGigtakRsIo5r 95dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=inf1+7bD; 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 v23si18280937ejy.208.2020.12.28.11.00.31; Mon, 28 Dec 2020 11:00:54 -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=inf1+7bD; 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 S2405925AbgL1Nsh (ORCPT + 99 others); Mon, 28 Dec 2020 08:48:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:49880 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405848AbgL1Nsd (ORCPT ); Mon, 28 Dec 2020 08:48:33 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id BEC0321D94; Mon, 28 Dec 2020 13:47:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609163273; bh=dRFpd2P34wQSPxgxPpmNmQnLi9bdefSO5r+35NisPFI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=inf1+7bD6x6CBaH+FlDNYilF7OmnA1qLCbZf9/uVhOBL98thJrI7klMRUEkTlaiun 40K4GyBY2q1zhITjR1GsT+e1bbwaYDi+xyo8CXKLb9k6zA6Dow+ZjBPrMpXN+0/mgQ J4/rkkm2OK7rqMG8GBmw2xH0Q/a7eBhwAI4jQp3A= 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 229/453] cpufreq: mediatek: Add missing MODULE_DEVICE_TABLE Date: Mon, 28 Dec 2020 13:47:45 +0100 Message-Id: <20201228124948.242089789@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 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 0c98dd08273d0..927ebc582a385 100644 --- a/drivers/cpufreq/mediatek-cpufreq.c +++ b/drivers/cpufreq/mediatek-cpufreq.c @@ -540,6 +540,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