[PATCH 2/2] cpufreq: mediatek: Add MT8173 cpufreq driver

Paul Bolle pebolle at tiscali.nl
Tue Jun 9 02:17:29 PDT 2015


On Mon, 2015-06-08 at 20:29 +0800, Pi-Cheng Chen wrote:
> --- /dev/null
> +++ b/drivers/cpufreq/mt8173-cpufreq.c

> +#include <linux/module.h>

Weren't you going to drop this include?

> +module_init(mt8173_cpufreq_driver_init);

For built-in code this is equivalent to, speaking from memory:
    device_initcall(mt8173_cpufreq_driver_init);

Why don't you just use that directly?

Thanks,


Paul Bolle




More information about the linux-arm-kernel mailing list