// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Linaro. * Viresh Kumar <[email protected]> */ #include <linux/err.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> #include "cpufreq-dt.h" /* * Machines for which the cpufreq device is *always* created, mostly used for * platforms using "operating-points" (V1) property. */ static const struct of_device_id allowlist[] __initconst = …; /* * Machines for which the cpufreq device is *not* created, mostly used for * platforms using "operating-points-v2" property. */ static const struct of_device_id blocklist[] __initconst = …; static bool __init cpu0_node_has_opp_v2_prop(void) { … } static int __init cpufreq_dt_platdev_init(void) { … } core_initcall(cpufreq_dt_platdev_init); MODULE_DESCRIPTION(…) …; MODULE_LICENSE(…) …;