]> www.infradead.org Git - users/dwmw2/linux.git/commit
cpufreq: armada-37xx: Add missing MODULE_DEVICE_TABLE
authorPali Rohár <pali@kernel.org>
Mon, 7 Sep 2020 13:27:16 +0000 (15:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 09:11:21 +0000 (10:11 +0100)
commitca0b8604f355ad26a1bc901b103c65d8b64e8a78
treeba8d3c23128a26bc3292757f70b5172236a6d282
parent1c37441fbd67deed04dcb5161b4a02a0b4e31261
cpufreq: armada-37xx: Add missing MODULE_DEVICE_TABLE

[ Upstream commit c942d1542f1bc5001216fabce9cb8ffbe515777e ]

CONFIG_ARM_ARMADA_37XX_CPUFREQ is tristate option and therefore this
cpufreq driver can be compiled as a module. This patch adds missing
MODULE_DEVICE_TABLE which generates correct modalias for automatic
loading of this cpufreq driver when is compiled as an external module.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: 92ce45fb875d7 ("cpufreq: Add DVFS support for Armada 37xx")
[ Viresh: Added __maybe_unused ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/cpufreq/armada-37xx-cpufreq.c