]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - arch/i386/kernel/tsc.c
WorkStruct: make allyesconfig
[mirror_ubuntu-eoan-kernel.git] / arch / i386 / kernel / tsc.c
index fbc95828cd7493082aeeedc0396a762db056097b..9810c8c9075060bb5bb54d2c4e6657214ccb44a9 100644 (file)
@@ -217,7 +217,7 @@ static unsigned int cpufreq_delayed_issched = 0;
 static unsigned int cpufreq_init = 0;
 static struct work_struct cpufreq_delayed_get_work;
 
-static void handle_cpufreq_delayed_get(void *v)
+static void handle_cpufreq_delayed_get(struct work_struct *work)
 {
        unsigned int cpu;
 
@@ -306,7 +306,7 @@ static int __init cpufreq_tsc(void)
 {
        int ret;
 
-       INIT_WORK(&cpufreq_delayed_get_work, handle_cpufreq_delayed_get, NULL);
+       INIT_WORK(&cpufreq_delayed_get_work, handle_cpufreq_delayed_get);
        ret = cpufreq_register_notifier(&time_cpufreq_notifier_block,
                                        CPUFREQ_TRANSITION_NOTIFIER);
        if (!ret)