From patchwork Tue Nov 3 15:11:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 11877967 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1650A6A2 for ; Tue, 3 Nov 2020 15:13:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E9AC120757 for ; Tue, 3 Nov 2020 15:13:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416430; bh=38vPNr6db3yi7DNxmKP0IP1vtoZboPOUjAF9sFfB3dU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Jed4yF/0E3n+wWmo57177EXxzeOyBQAbQu1amEWiULPtbDG2YAXvT6KXmGtvv4+on GBtGM4r0LX8mKwPEoM/p5PlHdKydv628zPycNym4mbDZJ0SoOA06+tjCmG5dy44Ixl JyNkZDldLnsrnvLJrOqGLIGywtQUy9HHswhsOyOs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728427AbgKCPNa (ORCPT ); Tue, 3 Nov 2020 10:13:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:56776 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728317AbgKCPMC (ORCPT ); Tue, 3 Nov 2020 10:12:02 -0500 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4579F20757; Tue, 3 Nov 2020 15:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416322; bh=38vPNr6db3yi7DNxmKP0IP1vtoZboPOUjAF9sFfB3dU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rw68FLCkurAZB6896nf0wNsrAjGp4t93yU4vIRdYWMMj43Qw1s8Jw3uRqfTEbH8Ha yq8vaAwUEG3KsaFXFBrpSLIs6A0LPlCGKtC/qs2vNdk8ixg9NOUPwH0eYSNjGe4rl4 e5qTaHhSVWlRrbAHDa1/TgCVxp3bkrUSaoxSQhm8= Received: by pali.im (Postfix) id DA648133E; Tue, 3 Nov 2020 16:11:59 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/9] cpufreq: ap806: Add missing MODULE_DEVICE_TABLE Date: Tue, 3 Nov 2020 16:11:31 +0100 Message-Id: <20201103151139.29690-2-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201103151139.29690-1-pali@kernel.org> References: <20201103151139.29690-1-pali@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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: f525a670533d9 ("cpufreq: ap806: add cpufreq driver for Armada 8K") --- drivers/cpufreq/armada-8k-cpufreq.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/cpufreq/armada-8k-cpufreq.c b/drivers/cpufreq/armada-8k-cpufreq.c index 39e34f5066d3..b0fc5e84f857 100644 --- a/drivers/cpufreq/armada-8k-cpufreq.c +++ b/drivers/cpufreq/armada-8k-cpufreq.c @@ -204,6 +204,12 @@ static void __exit armada_8k_cpufreq_exit(void) } module_exit(armada_8k_cpufreq_exit); +static const struct of_device_id __maybe_unused armada_8k_cpufreq_of_match[] = { + { .compatible = "marvell,ap806-cpu-clock" }, + { }, +}; +MODULE_DEVICE_TABLE(of, armada_8k_cpufreq_of_match); + MODULE_AUTHOR("Gregory Clement "); MODULE_DESCRIPTION("Armada 8K cpufreq driver"); MODULE_LICENSE("GPL"); From patchwork Tue Nov 3 15:11:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 11877965 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B17FA92C for ; Tue, 3 Nov 2020 15:13:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8B4FE2242A for ; Tue, 3 Nov 2020 15:13:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416411; bh=ZCbFeQADKo3yAgfHLi4t3D1MnzyuZ6vb29qyxOt4Yhw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=zJgaWzvhLMSW5ZLUFAhHDlI+tbeT82ZPl/W27XaB6lIXJz7mMaHk0Xg41MXvncTDU cFJLCsjqKZwc48/iASzN3IjpLwYfAAF5KN9Pb65K5cPGYvMtVTfqk9ZR4cAmD1fFC3 CXofWQm7fq+bDK8ldCBJ1DXn/y8q91x+5OGb11jE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728432AbgKCPNa (ORCPT ); Tue, 3 Nov 2020 10:13:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:56778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728316AbgKCPMC (ORCPT ); Tue, 3 Nov 2020 10:12:02 -0500 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4902920780; Tue, 3 Nov 2020 15:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416322; bh=ZCbFeQADKo3yAgfHLi4t3D1MnzyuZ6vb29qyxOt4Yhw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iMLU9pysq4Mnh2gsQIxNT5NhIktlUBO8FIPysDMMI1g5hp2rZ6TgnBi3M7B0JKDRv d+5wj8ODhM3CabMrl0it9YLcOJl1cjXI3b+td7Aq2qTNmFe58ZEWzf/ku4Q1vKJe13 DJlEZQ1uutrB80WgeBhQhAArPGfx90clbHkwB/Nw= Received: by pali.im (Postfix) id 34616161E; Tue, 3 Nov 2020 16:12:00 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/9] cpufreq: highbank: Add missing MODULE_DEVICE_TABLE Date: Tue, 3 Nov 2020 16:11:32 +0100 Message-Id: <20201103151139.29690-3-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201103151139.29690-1-pali@kernel.org> References: <20201103151139.29690-1-pali@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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: 6754f556103be ("cpufreq / highbank: add support for highbank cpufreq") --- drivers/cpufreq/highbank-cpufreq.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/cpufreq/highbank-cpufreq.c b/drivers/cpufreq/highbank-cpufreq.c index 5a7f6dafcddb..ac57cddc5f2f 100644 --- a/drivers/cpufreq/highbank-cpufreq.c +++ b/drivers/cpufreq/highbank-cpufreq.c @@ -101,6 +101,13 @@ static int hb_cpufreq_driver_init(void) } module_init(hb_cpufreq_driver_init); +static const struct of_device_id __maybe_unused hb_cpufreq_of_match[] = { + { .compatible = "calxeda,highbank" }, + { .compatible = "calxeda,ecx-2000" }, + { }, +}; +MODULE_DEVICE_TABLE(of, hb_cpufreq_of_match); + MODULE_AUTHOR("Mark Langsdorf "); MODULE_DESCRIPTION("Calxeda Highbank cpufreq driver"); MODULE_LICENSE("GPL"); From patchwork Tue Nov 3 15:11:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 11877969 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6503F92C for ; Tue, 3 Nov 2020 15:13:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 47A75221FB for ; Tue, 3 Nov 2020 15:13:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416431; bh=ijYhyjbLqPbwjVrs3lfxc8yZiJOX/V7n4LDzw/kbS/s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=OCLuzMxjIO9POimLeSwPoCfRevcr6TEawbnIEqvFHLTQzZnojEv9/0QuLGLSc0agq /66q2gVmRybMJYt+QfsidJcFuLAu3GPKwMPsLqRHM126oSiLA1kw1BTsR3V2iqmYqS 9FXNLyRVGnmdG2PQYMu8JZDfbffday1JVu0BtnAA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728336AbgKCPN3 (ORCPT ); Tue, 3 Nov 2020 10:13:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:56784 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728325AbgKCPMD (ORCPT ); Tue, 3 Nov 2020 10:12:03 -0500 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4FBA7221FB; Tue, 3 Nov 2020 15:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416322; bh=ijYhyjbLqPbwjVrs3lfxc8yZiJOX/V7n4LDzw/kbS/s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZiVUnbGQRuFAsmqKbhAXsTNk5gnGW8r8y78fYttndKTVv1g2nD7PqqCnZgea+I3Ob tZxOsA7fJjXZvL9+WNKk22j+JgE/s0F25+t4mjpBNB9iRxE2y/2M/DF4HkKLHrSpP3 9LAVVjo3Xgx+IwWoHvc2m1QQr/pp8I7ymc19BXZQ= Received: by pali.im (Postfix) id 6936616AA; Tue, 3 Nov 2020 16:12:00 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/9] cpufreq: mediatek: Add missing MODULE_DEVICE_TABLE Date: Tue, 3 Nov 2020 16:11:33 +0100 Message-Id: <20201103151139.29690-4-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201103151139.29690-1-pali@kernel.org> References: <20201103151139.29690-1-pali@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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") --- 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 7d1212c9b7c8..a310372dc53e 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) { From patchwork Tue Nov 3 15:11:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 11877963 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 379B26A2 for ; Tue, 3 Nov 2020 15:13:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 18555221FB for ; Tue, 3 Nov 2020 15:13:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416411; bh=AJNvZQquMu11B4hKwW4R4Rgw+TUPue4FOo3NvQ7oduA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=PXj2RL4vCymTAHk0qfbrYY0d8/kc9GrY3FhSmEcB9pjJPVOOj1v1aV18B9P4cwgvA Ct/FIXHQafZeDgN1S2+Dom7bA+4FRT/9l/WIffcMdQvoDcewGVNSmQIzlDe21r4g15 ekRhfM/iHmXE5576sD1srbsHK5RHuhKyYiS473v0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728421AbgKCPNa (ORCPT ); Tue, 3 Nov 2020 10:13:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:56810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728328AbgKCPMD (ORCPT ); Tue, 3 Nov 2020 10:12:03 -0500 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 95C4422370; Tue, 3 Nov 2020 15:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416322; bh=AJNvZQquMu11B4hKwW4R4Rgw+TUPue4FOo3NvQ7oduA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R+4aFSEDCifHTEwe8rdYaHUK37BU9CaHHHwq6/rKFgGjMgBVXd+OP7z6m9y3PEq6z kRj5+733BsWeWaC8GqLRzX/TbKATrhPx7cZGeG44bkJ0+p3GzzsPpAUuymLwdXUwPI lZp2TDJsre/Xyh3X1FZdW6YBbqyDTQ5ciblOBLC8= Received: by pali.im (Postfix) id A28AA183B; Tue, 3 Nov 2020 16:12:00 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/9] cpufreq: qcom: Add missing MODULE_DEVICE_TABLE Date: Tue, 3 Nov 2020 16:11:34 +0100 Message-Id: <20201103151139.29690-5-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201103151139.29690-1-pali@kernel.org> References: <20201103151139.29690-1-pali@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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: 46e2856b8e188 ("cpufreq: Add Kryo CPU scaling driver") --- drivers/cpufreq/qcom-cpufreq-nvmem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c index d06b37822c3d..fba9937a406b 100644 --- a/drivers/cpufreq/qcom-cpufreq-nvmem.c +++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c @@ -464,6 +464,7 @@ static const struct of_device_id qcom_cpufreq_match_list[] __initconst = { { .compatible = "qcom,msm8960", .data = &match_data_krait }, {}, }; +MODULE_DEVICE_TABLE(of, qcom_cpufreq_match_list); /* * Since the driver depends on smem and nvmem drivers, which may From patchwork Tue Nov 3 15:11:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 11877955 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 91E5E6A2 for ; Tue, 3 Nov 2020 15:13:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 670072244C for ; Tue, 3 Nov 2020 15:13:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416388; bh=2SCeqACj03PGd/cs05vDhJgyNzXG+utuwLiAZJlMUp4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=z32U9aSnMD8hxFd8xCidTSkcuL3B9uF/g/b35/u+nQLPHaV+gfrlqnfsUqoQI6MAa LWLr3BvDwQcNMLlfns7k9PSJflptaFzJOBjA5Debwjg9R7sWscPVJbFudq1hCV/PD8 jMpCBej1dDsA6bkdMoaaL2+qvW+J2YMoxFEqqACI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728352AbgKCPNH (ORCPT ); Tue, 3 Nov 2020 10:13:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:56866 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728331AbgKCPME (ORCPT ); Tue, 3 Nov 2020 10:12:04 -0500 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 36F36223C7; Tue, 3 Nov 2020 15:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416324; bh=2SCeqACj03PGd/cs05vDhJgyNzXG+utuwLiAZJlMUp4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T4bhE4qhMBeVnfK/gOjND7vH3CAKvYAVu/1HctSbrnc5hJosFuhR9zkvSBJEJVUJK B2s98ckb0mGA19EfXL1iYlhgqT0fMdvrcEExLCoEwJ3384aC1i0/yyfZkE6ak/wKZB tpPz5WjyhlyOmqAy68+FjhqO6L9l02zzem1a4iBE= Received: by pali.im (Postfix) id E45651A0C; Tue, 3 Nov 2020 16:12:00 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/9] cpufreq: st: Add missing MODULE_DEVICE_TABLE Date: Tue, 3 Nov 2020 16:11:35 +0100 Message-Id: <20201103151139.29690-6-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201103151139.29690-1-pali@kernel.org> References: <20201103151139.29690-1-pali@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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") --- 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 4ac6fb23792a..c40d3d7d4ea4 100644 --- a/drivers/cpufreq/sti-cpufreq.c +++ b/drivers/cpufreq/sti-cpufreq.c @@ -292,6 +292,13 @@ static int sti_cpufreq_init(void) } 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 "); From patchwork Tue Nov 3 15:11:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 11877961 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B31D092C for ; Tue, 3 Nov 2020 15:13:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8F9E122370 for ; Tue, 3 Nov 2020 15:13:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416410; bh=GnyvaB3CIoO3ENb2P26n4kskRM2MobqgcKQRTKcsjTE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=nVJNN3CD+a4zkJY6U7OEOvwDkkL6I7UeebT51l0vloz1h+7Fn00btHL3uwHe9mF7Q JVr5HVjWJXpWA7fQxsI2CSg76EbFf5NX5MLjj992/xdQUFnB8YT4G2ZJknpHl0T2Y/ h4NV3kQC0SWopvCwNPDHjjQy2p7lCOTntQkHkIWU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728109AbgKCPN3 (ORCPT ); Tue, 3 Nov 2020 10:13:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:56870 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728342AbgKCPME (ORCPT ); Tue, 3 Nov 2020 10:12:04 -0500 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 38717223EA; Tue, 3 Nov 2020 15:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416324; bh=GnyvaB3CIoO3ENb2P26n4kskRM2MobqgcKQRTKcsjTE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2oBz9G542Z/agHXljbc07zwDGQqZX8XO8pftXthzpQg/m8TD65UHJPj1RDQytcR23 G0p4hmuENID9oMXBxvzEPTdY6F5SRjw4VwJs0pnwvyAOeDr5Gwyr2LuAUYsMj4f9QF LfbKFQe1Dc9MXtun6AmxvPOn0uAPH84foOvXArbk= Received: by pali.im (Postfix) id 348BD1A13; Tue, 3 Nov 2020 16:12:01 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/9] cpufreq: sun50i: Add missing MODULE_DEVICE_TABLE Date: Tue, 3 Nov 2020 16:11:36 +0100 Message-Id: <20201103151139.29690-7-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201103151139.29690-1-pali@kernel.org> References: <20201103151139.29690-1-pali@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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: f328584f7bff8 ("cpufreq: Add sun50i nvmem based CPU scaling driver") Reviewed-by: Yangtao Li --- drivers/cpufreq/sun50i-cpufreq-nvmem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/sun50i-cpufreq-nvmem.c b/drivers/cpufreq/sun50i-cpufreq-nvmem.c index 9907a165135b..2deed8d8773f 100644 --- a/drivers/cpufreq/sun50i-cpufreq-nvmem.c +++ b/drivers/cpufreq/sun50i-cpufreq-nvmem.c @@ -167,6 +167,7 @@ static const struct of_device_id sun50i_cpufreq_match_list[] = { { .compatible = "allwinner,sun50i-h6" }, {} }; +MODULE_DEVICE_TABLE(of, sun50i_cpufreq_match_list); static const struct of_device_id *sun50i_cpufreq_match_node(void) { From patchwork Tue Nov 3 15:11:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 11877957 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 323286A2 for ; Tue, 3 Nov 2020 15:13:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 13F40221FB for ; Tue, 3 Nov 2020 15:13:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416405; bh=g0c8i/wdirmEYHXgRwCXZZmdKKepVVMI3U4ztkA4in0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Bl+iLvxVrKHpxkFXyXlGpeWNBVcrlVZXwIJ2n/52KOutNOJexQ1sEC3ATYSW8myTF xV1bIMoAMQBIGvRd+PCi7kgKJhmHbQMpM0yej0QpOAJkm06hR3AD4Ea4f7aBHA+puK 9VFFqAlN9vW0N8oKephVpYCR/FuQ5u8L7gG3CHJ8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728350AbgKCPNH (ORCPT ); Tue, 3 Nov 2020 10:13:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:56880 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728343AbgKCPME (ORCPT ); Tue, 3 Nov 2020 10:12:04 -0500 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4DDF52242B; Tue, 3 Nov 2020 15:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416324; bh=g0c8i/wdirmEYHXgRwCXZZmdKKepVVMI3U4ztkA4in0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aP017Doc5x9VuinHfN7uLdejq4NF9mpSFQIXl0JILMsrPkXeocGbvikqZ0dY/9tse srta7uThrURjeYUL+3Pznxn407rBhyY6/iu598Og/N+ddVxyIYCI54KWh92LT6mNJk gMn/QNDVyCrQheRzYMcPdewnapxYtHE8NviBrA+E= Received: by pali.im (Postfix) id 7FBBD1A15; Tue, 3 Nov 2020 16:12:01 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/9] cpufreq: loongson1: Add missing MODULE_ALIAS Date: Tue, 3 Nov 2020 16:11:37 +0100 Message-Id: <20201103151139.29690-8-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201103151139.29690-1-pali@kernel.org> References: <20201103151139.29690-1-pali@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch adds missing MODULE_ALIAS for automatic loading of this cpufreq driver when it is compiled as an external module. Signed-off-by: Pali Rohár Fixes: a0a22cf14472f ("cpufreq: Loongson1: Add cpufreq driver for Loongson1B") --- drivers/cpufreq/loongson1-cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/loongson1-cpufreq.c b/drivers/cpufreq/loongson1-cpufreq.c index 0ea88778882a..86f612593e49 100644 --- a/drivers/cpufreq/loongson1-cpufreq.c +++ b/drivers/cpufreq/loongson1-cpufreq.c @@ -216,6 +216,7 @@ static struct platform_driver ls1x_cpufreq_platdrv = { module_platform_driver(ls1x_cpufreq_platdrv); +MODULE_ALIAS("platform:ls1x-cpufreq"); MODULE_AUTHOR("Kelvin Cheung "); MODULE_DESCRIPTION("Loongson1 CPUFreq driver"); MODULE_LICENSE("GPL"); From patchwork Tue Nov 3 15:11:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 11877953 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E4735139F for ; Tue, 3 Nov 2020 15:13:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C6D8D20780 for ; Tue, 3 Nov 2020 15:13:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416387; bh=ZKXngPztHzQWd5h+WROAbBiPi04VlbaKl6Ma7l/Vt7U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=ykp7u69bVN3MFAiHi1gHiAqJUYT8fz543n643Un4P6S03/9V7PTbvQ2BWjsnQ0lcl H8cz74UMN+9Xe6Ee7Pgbs111+VZkY+oLtOhLOVptBv5cgqnJK7gWPg70r/uX2wNnOv Eey3HplQBx8IddIgSlmvlWHCSNfZhZ7+CZLXtWXc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727986AbgKCPNG (ORCPT ); Tue, 3 Nov 2020 10:13:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:56878 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728346AbgKCPME (ORCPT ); Tue, 3 Nov 2020 10:12:04 -0500 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4CA2E2242A; Tue, 3 Nov 2020 15:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416324; bh=ZKXngPztHzQWd5h+WROAbBiPi04VlbaKl6Ma7l/Vt7U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tD4CXwDUTajEng9yYRtap3QsxJ8wL/K5soWfcFREHiPZDGs6VMLI+vyvGaghWccEk DPvnHkrNkwh06kajsbE39yNfJ+tw00tKR08/BZp0KA50JwKz/C3hXLorFNSuQRrz3r nDqUl1VVFn/Sgw+PNlf9iO3tZ3KNr6VH+QYAGdqg= Received: by pali.im (Postfix) id BE4171A79; Tue, 3 Nov 2020 16:12:01 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 8/9] cpufreq: scpi: Add missing MODULE_ALIAS Date: Tue, 3 Nov 2020 16:11:38 +0100 Message-Id: <20201103151139.29690-9-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201103151139.29690-1-pali@kernel.org> References: <20201103151139.29690-1-pali@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch adds missing MODULE_ALIAS for automatic loading of this cpufreq driver when it is compiled as an external module. Signed-off-by: Pali Rohár Fixes: 8def31034d033 ("cpufreq: arm_big_little: add SCPI interface driver") --- drivers/cpufreq/scpi-cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/scpi-cpufreq.c b/drivers/cpufreq/scpi-cpufreq.c index 43db05b949d9..e5140ad63db8 100644 --- a/drivers/cpufreq/scpi-cpufreq.c +++ b/drivers/cpufreq/scpi-cpufreq.c @@ -233,6 +233,7 @@ static struct platform_driver scpi_cpufreq_platdrv = { }; module_platform_driver(scpi_cpufreq_platdrv); +MODULE_ALIAS("platform:scpi-cpufreq"); MODULE_AUTHOR("Sudeep Holla "); MODULE_DESCRIPTION("ARM SCPI CPUFreq interface driver"); MODULE_LICENSE("GPL v2"); From patchwork Tue Nov 3 15:11:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 11877959 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5C49C6A2 for ; Tue, 3 Nov 2020 15:13:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3B55E221FB for ; Tue, 3 Nov 2020 15:13:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416406; bh=BymlLEXMIZdkcZquq/SLhW58QSml7Tl5xLSXsPJMlaQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=QO934KU6hfgFPhvcLtRjgAdycQ6tfuyHEtJ6EkSU5fIJAuskjSXBgB+UjGzDxJTqW EvuNthDnZF68iik0hTBxqs8+Q4HxbeAXJJ2IvdLmaHZ5Zen2YlUA6uDPVYQ6pzuFKE qyk0okdnB5B2SWHyoX2uBkFni7c66i2XRyfdgOAA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728293AbgKCPNH (ORCPT ); Tue, 3 Nov 2020 10:13:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:56890 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728348AbgKCPMF (ORCPT ); Tue, 3 Nov 2020 10:12:05 -0500 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5E7C42242C; Tue, 3 Nov 2020 15:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416324; bh=BymlLEXMIZdkcZquq/SLhW58QSml7Tl5xLSXsPJMlaQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T3wBZLFzUKR02vTcEKoFzAYSBqNflxvWsshwGW3p+Ndij+a9tHZxf+DhvUrUhIG2C W/LLCo8cXC+oI2Yk7+4hqHPyPC4mC1/y1S72eVUep67sb6//JCUPbC7jmmSdcNGt0p XVvT516ArPcuKhuvI0TtQLr7ABeozvP0vhPpkio4= Received: by pali.im (Postfix) id F40091C67; Tue, 3 Nov 2020 16:12:01 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 9/9] cpufreq: vexpress-spc: Add missing MODULE_ALIAS Date: Tue, 3 Nov 2020 16:11:39 +0100 Message-Id: <20201103151139.29690-10-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201103151139.29690-1-pali@kernel.org> References: <20201103151139.29690-1-pali@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch adds missing MODULE_ALIAS for automatic loading of this cpufreq driver when it is compiled as an external module. Signed-off-by: Pali Rohár Fixes: 47ac9aa165540 ("cpufreq: arm_big_little: add vexpress SPC interface driver") --- drivers/cpufreq/vexpress-spc-cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/vexpress-spc-cpufreq.c b/drivers/cpufreq/vexpress-spc-cpufreq.c index e89b905754d2..f711d8eaea6a 100644 --- a/drivers/cpufreq/vexpress-spc-cpufreq.c +++ b/drivers/cpufreq/vexpress-spc-cpufreq.c @@ -591,6 +591,7 @@ static struct platform_driver ve_spc_cpufreq_platdrv = { }; module_platform_driver(ve_spc_cpufreq_platdrv); +MODULE_ALIAS("platform:vexpress-spc-cpufreq"); MODULE_AUTHOR("Viresh Kumar "); MODULE_AUTHOR("Sudeep Holla "); MODULE_DESCRIPTION("Vexpress SPC ARM big LITTLE cpufreq driver");