drivers/base: cpu: fix merge problem
authorRyan Harkin <ryan.harkin@linaro.org>
Tue, 14 Apr 2015 16:03:34 +0000 (17:03 +0100)
committerAlex Shi <alex.shi@linaro.org>
Wed, 15 Apr 2015 09:04:04 +0000 (17:04 +0800)
In LSK's linux-linaro-lsk-android branch, this merge

bb0dddf6157bc679de9143507375fce3f13fcd00

broke drivers/base/cpu.c

Because this patch appears twice:
197028d  2014-02-08  cpu: add generic support for CPU feature based
module autoloading  [Ard Biesheuvel]
126ef42  2014-02-08  cpu: add generic support for CPU feature based
module autoloading  [Ard Biesheuvel]

And the merge edited the file to the old contents.

Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
drivers/base/cpu.c

index ac292eee83d6b738184dd53511e4accff6035d1d..607efe6b7dc84609b50d3fc0f3b1694a420dfbdd 100644 (file)
@@ -319,7 +319,7 @@ int __cpuinit register_cpu(struct cpu *cpu, int num)
        cpu->dev.id = num;
        cpu->dev.bus = &cpu_subsys;
        cpu->dev.release = cpu_device_release;
-#ifdef CONFIG_ARCH_HAS_CPU_AUTOPROBE
+#ifdef CONFIG_HAVE_CPU_AUTOPROBE
        cpu->dev.bus->uevent = cpu_uevent;
 #endif
        error = device_register(&cpu->dev);