[PATCH] cpufreq: exynos: Convert exynos-cpufreq to platform driver

Sachin Kamat sachin.kamat at linaro.org
Thu Oct 17 00:59:45 EDT 2013


Hi Tomasz, Lukasz,

On 16 October 2013 21:30, Tomasz Figa <t.figa at samsung.com> wrote:
> From: Lukasz Majewski <l.majewski at samsung.com>
>
> +static struct platform_driver exynos_cpufreq_platdrv = {
> +       .driver = {
> +               .name   = "exynos-cpufreq",
> +               .owner  = THIS_MODULE,
> +       },
> +       .probe = exynos_cpufreq_init,

I think the prototype of this function should be changed to:
static int __init exynos_cpufreq_init(struct platform_device *pdev)

to avoid compilation warnings.

-- 
With warm regards,
Sachin



More information about the linux-arm-kernel mailing list